Skip to content

Commit 4fce13e

Browse files
committed
[SDK] winbase.h: Add missing WINADVAPI define (reactos#8019)
1 parent 2c5bba3 commit 4fce13e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

sdk/include/psdk/winbase.h

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
#ifndef _WINBASE_
22
#define _WINBASE_
33

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+
414
#if !defined(_KERNEL32_)
515
#define WINBASEAPI DECLSPEC_IMPORT
616
#else
717
#define WINBASEAPI
818
#endif
919

10-
#ifdef __cplusplus
11-
extern "C" {
12-
#endif
13-
1420
#include <libloaderapi.h>
1521
#include <sysinfoapi.h>
1622
#include <threadpoolapiset.h>
@@ -4183,4 +4189,4 @@ WCHAR * CDECL wine_get_dos_file_name(LPCSTR str);
41834189
#include <synchapi.h>
41844190
#include <processthreadsapi.h>
41854191

4186-
#endif /* _WINBASE_H */
4192+
#endif /* _WINBASE_ */

0 commit comments

Comments
 (0)