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

This commit is contained in:
Hermès Bélusca-Maïto 2025-05-14 22:21:42 +02:00
parent 2c5bba3c48
commit 4fce13e06b
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -1,16 +1,22 @@
#ifndef _WINBASE_
#define _WINBASE_
#ifdef __cplusplus
extern "C" {
#endif
#if !defined(_ADVAPI32_)
#define WINADVAPI DECLSPEC_IMPORT
#else
#define WINADVAPI
#endif
#if !defined(_KERNEL32_)
#define WINBASEAPI DECLSPEC_IMPORT
#else
#define WINBASEAPI
#endif
#ifdef __cplusplus
extern "C" {
#endif
#include <libloaderapi.h>
#include <sysinfoapi.h>
#include <threadpoolapiset.h>
@ -4183,4 +4189,4 @@ WCHAR * CDECL wine_get_dos_file_name(LPCSTR str);
#include <synchapi.h>
#include <processthreadsapi.h>
#endif /* _WINBASE_H */
#endif /* _WINBASE_ */