diff --git a/config/internal/bundle/config-internal.h b/config/internal/bundle/config-internal.h index d14707d..88abc63 100644 --- a/config/internal/bundle/config-internal.h +++ b/config/internal/bundle/config-internal.h @@ -1,2 +1,2 @@ #define WEPOLL_INTERNAL static -#define WEPOLL_INTERNAL_VAR static +#define WEPOLL_INTERNAL_EXTERN static diff --git a/config/internal/default/config-internal.h b/config/internal/default/config-internal.h index 8d58100..e8adda2 100644 --- a/config/internal/default/config-internal.h +++ b/config/internal/default/config-internal.h @@ -1,2 +1,2 @@ #define WEPOLL_INTERNAL -#define WEPOLL_INTERNAL_VAR extern +#define WEPOLL_INTERNAL_EXTERN extern diff --git a/src/nt.h b/src/nt.h index 8c31882..4e66548 100644 --- a/src/nt.h +++ b/src/nt.h @@ -132,7 +132,7 @@ typedef struct _OBJECT_ATTRIBUTES { X(ULONG, WINAPI, RtlNtStatusToDosError, (NTSTATUS Status)) #define X(return_type, attributes, name, parameters) \ - WEPOLL_INTERNAL_VAR return_type(attributes* name) parameters; + WEPOLL_INTERNAL_EXTERN return_type(attributes* name) parameters; NT_NTDLL_IMPORT_LIST(X) #undef X