mirror of
https://github.com/reactos/reactos.git
synced 2026-06-20 17:26:01 +08:00
[XDK][PSDK][WINE] Unify ARRAY_SIZE definition for Wine modules. CORE-15127
This commit is contained in:
@@ -4308,6 +4308,10 @@ typedef struct _TP_CALLBACK_ENVIRON_V1 {
|
||||
} TP_CALLBACK_ENVIRON_V1, TP_CALLBACK_ENVIRON, *PTP_CALLBACK_ENVIRON;
|
||||
#endif /* (_WIN32_WINNT >= _WIN32_WINNT_WIN7) */
|
||||
|
||||
#ifdef __WINESRC__
|
||||
# define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user