mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
yes
This commit is contained in:
@@ -15,6 +15,19 @@
|
|||||||
#include <stdlib.h> // getenv
|
#include <stdlib.h> // getenv
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef PULSE_PLAT_WINDOWS
|
||||||
|
typedef const char* LPCSTR;
|
||||||
|
typedef struct HINSTANCE__* HINSTANCE;
|
||||||
|
typedef HINSTANCE HMODULE;
|
||||||
|
#if defined(_MINWINDEF_)
|
||||||
|
/* minwindef.h defines FARPROC, and attempting to redefine it may conflict with -Wstrict-prototypes */
|
||||||
|
#elif defined(_WIN64)
|
||||||
|
typedef __int64 (__stdcall* FARPROC)(void);
|
||||||
|
#else
|
||||||
|
typedef int (__stdcall* FARPROC)(void);
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef PULSE_PLAT_WINDOWS
|
#ifdef PULSE_PLAT_WINDOWS
|
||||||
__declspec(dllimport) HMODULE __stdcall LoadLibraryA(LPCSTR);
|
__declspec(dllimport) HMODULE __stdcall LoadLibraryA(LPCSTR);
|
||||||
__declspec(dllimport) FARPROC __stdcall GetProcAddress(HMODULE, LPCSTR);
|
__declspec(dllimport) FARPROC __stdcall GetProcAddress(HMODULE, LPCSTR);
|
||||||
|
|||||||
Reference in New Issue
Block a user