mirror of
https://github.com/reactos/reactos.git
synced 2024-07-14 00:25:05 +00:00
[PSDK]
* Add DECLSPEC_SELECTANY. svn path=/trunk/; revision=58749
This commit is contained in:
parent
c6990096ac
commit
78c8abf0e3
|
@ -299,6 +299,14 @@
|
||||||
#endif
|
#endif
|
||||||
#endif /* DECLSPEC_ALIGN */
|
#endif /* DECLSPEC_ALIGN */
|
||||||
|
|
||||||
|
#ifndef DECLSPEC_SELECTANY
|
||||||
|
#if (_MSC_VER >= 1100)
|
||||||
|
#define DECLSPEC_SELECTANY __declspec(selectany)
|
||||||
|
#else
|
||||||
|
#define DECLSPEC_SELECTANY
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Use to silence unused variable warnings when it is intentional */
|
/* Use to silence unused variable warnings when it is intentional */
|
||||||
#define UNREFERENCED_PARAMETER(P) {(P)=(P);}
|
#define UNREFERENCED_PARAMETER(P) {(P)=(P);}
|
||||||
#define UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
|
#define UNREFERENCED_LOCAL_VARIABLE(L) {(L)=(L);}
|
||||||
|
|
|
@ -217,6 +217,14 @@ extern "C" {
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef DECLSPEC_SELECTANY
|
||||||
|
#if (_MSC_VER >= 1100)
|
||||||
|
#define DECLSPEC_SELECTANY __declspec(selectany)
|
||||||
|
#else
|
||||||
|
#define DECLSPEC_SELECTANY
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#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)
|
||||||
|
|
Loading…
Reference in a new issue