mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
include: Add specstrings_strict.h with some defines.
This commit is contained in:
parent
caae33a853
commit
6bcdbbe573
|
@ -710,6 +710,7 @@ SOURCES = \
|
||||||
softpub.h \
|
softpub.h \
|
||||||
spatialaudioclient.idl \
|
spatialaudioclient.idl \
|
||||||
specstrings.h \
|
specstrings.h \
|
||||||
|
specstrings_strict.h \
|
||||||
sperror.h \
|
sperror.h \
|
||||||
sql.h \
|
sql.h \
|
||||||
sqlext.h \
|
sqlext.h \
|
||||||
|
|
|
@ -323,6 +323,10 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef RC_INVOKED
|
||||||
|
#include <specstrings_strict.h>
|
||||||
|
#endif /* RC_INVOKED */
|
||||||
|
|
||||||
#ifndef DECLSPEC_ADDRSAFE
|
#ifndef DECLSPEC_ADDRSAFE
|
||||||
#if (_MSC_VER >= 1200) && (defined(_M_ALPHA) || defined(_M_AXP64))
|
#if (_MSC_VER >= 1200) && (defined(_M_ALPHA) || defined(_M_AXP64))
|
||||||
#define DECLSPEC_ADDRSAFE __declspec(address_safe)
|
#define DECLSPEC_ADDRSAFE __declspec(address_safe)
|
||||||
|
|
37
include/specstrings_strict.h
Normal file
37
include/specstrings_strict.h
Normal 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
|
Loading…
Reference in a new issue