Reactos

[SDK] winbase.h: Add missing WINADVAPI define (#8019)

+11 -5
+11 -5
sdk/include/psdk/winbase.h
··· 1 1 #ifndef _WINBASE_ 2 2 #define _WINBASE_ 3 3 4 + #ifdef __cplusplus 5 + extern "C" { 6 + #endif 7 + 8 + #if !defined(_ADVAPI32_) 9 + #define WINADVAPI DECLSPEC_IMPORT 10 + #else 11 + #define WINADVAPI 12 + #endif 13 + 4 14 #if !defined(_KERNEL32_) 5 15 #define WINBASEAPI DECLSPEC_IMPORT 6 16 #else 7 17 #define WINBASEAPI 8 - #endif 9 - 10 - #ifdef __cplusplus 11 - extern "C" { 12 18 #endif 13 19 14 20 #include <libloaderapi.h> ··· 4183 4189 #include <synchapi.h> 4184 4190 #include <processthreadsapi.h> 4185 4191 4186 - #endif /* _WINBASE_H */ 4192 + #endif /* _WINBASE_ */