From 4b2985b50b56469535f7732fdaa1662343be0a2f Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Wed, 4 Jan 2006 20:59:28 +0000 Subject: [PATCH] 2006-01-05 Michael Gerdau * include/winbase.h (WINADVAPI): Define. --- winsup/w32api/ChangeLog | 4 ++++ winsup/w32api/include/winbase.h | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index f03d965e7..9789f1594 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2006-01-05 Michael Gerdau + + * include/winbase.h (WINADVAPI): Define. + 2006-01-03 Christopher Faylor * include/winuser.h (CreateWindowStation): Correctly identify first diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index faf95ae2b..90b876fff 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -12,6 +12,14 @@ #endif #endif +#ifndef WINADVAPI +#ifdef __W32API_USE_DLLIMPORT__ +#define WINADVAPI DECLSPEC_IMPORT +#else +#define WINADVAPI +#endif +#endif + #ifdef __cplusplus extern "C" { #endif