mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:33:11 +00:00
[0.4.10][XDK][PSDK][WINE] Unify ARRAY_SIZE definition for Wine modules.
part of CORE-15127
picked from:
0.4.11-dev-258-g 82faa151e5
This commit is contained in:
parent
82f6344ee0
commit
8b9811a62b
13 changed files with 4 additions and 24 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue