include: Use proper dllimports for slc functions.

This commit is contained in:
Alexandre Julliard 2023-11-03 17:30:27 +01:00
parent e7f44130eb
commit 32cdd5d487
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
EXTRADEFS = -D_SLC_
MODULE = sppc.dll MODULE = sppc.dll
EXTRADLLFLAGS = -Wb,--prefer-native EXTRADLLFLAGS = -Wb,--prefer-native

View file

@ -26,7 +26,7 @@ extern "C" {
#ifdef _SLC_ #ifdef _SLC_
#define SLCAPI #define SLCAPI
#else #else
#define SLCAPI DECLSPEC_HIDDEN #define SLCAPI DECLSPEC_IMPORT
#endif #endif
typedef GUID SLID; typedef GUID SLID;