1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

include: Add specstrings_strict.h with some defines.

This commit is contained in:
Vitaly Lipatov 2023-07-16 17:17:04 +03:00 committed by Alexandre Julliard
parent caae33a853
commit 6bcdbbe573
3 changed files with 42 additions and 0 deletions

View File

@ -710,6 +710,7 @@ SOURCES = \
softpub.h \
spatialaudioclient.idl \
specstrings.h \
specstrings_strict.h \
sperror.h \
sql.h \
sqlext.h \

View File

@ -323,6 +323,10 @@ extern "C" {
#endif
#endif
#ifndef RC_INVOKED
#include <specstrings_strict.h>
#endif /* RC_INVOKED */
#ifndef DECLSPEC_ADDRSAFE
#if (_MSC_VER >= 1200) && (defined(_M_ALPHA) || defined(_M_AXP64))
#define DECLSPEC_ADDRSAFE __declspec(address_safe)

View File

@ -0,0 +1,37 @@
/*
* Copyright 2023 Vitaly Lipatov
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __SPECSTRINGS_STRICT_LEVEL
#define __SPECSTRINGS_STRICT_LEVEL 1
#endif
#if !defined(__midl) && !defined(__WIDL__) && (__SPECSTRINGS_STRICT_LEVEL > 0)
#define __field_bcount(size)
#define __field_ecount(size)
#define __field_xcount(size)
#define __success(status)
#define __range(lb,ub)
#ifdef _MSC_VER
#define __in
#define __out
#define __reserved
#endif
#endif