diff options
| author | Andre Weissflog <floooh@gmail.com> | 2021-02-09 18:11:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-09 18:11:55 +0100 |
| commit | 9acfe8cf7b3597bfad39847a0daa564dad91b8ae (patch) | |
| tree | 1b4d2f7c36a29459774712edc0db2921539a4c1f /sokol_audio.h | |
| parent | 16957726f71b9b8124b7e5f24c9ac145aaf60fc3 (diff) | |
| parent | 78061e2a9a5286b9fab19fd461dfd22c1f3c803c (diff) | |
Merge pull request #474 from spaceface777/remove-tcc-pragma-extpre-feb2021-api-changes
Fix #pragma compilation with tcc on windows
Diffstat (limited to 'sokol_audio.h')
| -rw-r--r-- | sokol_audio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sokol_audio.h b/sokol_audio.h index 8a6f8db7..2e02ae8a 100644 --- a/sokol_audio.h +++ b/sokol_audio.h @@ -495,12 +495,12 @@ inline void saudio_setup(const saudio_desc& desc) { return saudio_setup(&desc); #include <synchapi.h> #if (defined(WINAPI_FAMILY_PARTITION) && !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)) #define SOKOL_WIN32_NO_MMDEVICE - #pragma comment (lib, "WindowsApp.lib") + #pragma comment (lib, "WindowsApp") #else - #pragma comment (lib, "kernel32.lib") - #pragma comment (lib, "ole32.lib") + #pragma comment (lib, "kernel32") + #pragma comment (lib, "ole32") #if defined(SOKOL_WIN32_NO_MMDEVICE) - #pragma comment (lib, "mmdevapi.lib") + #pragma comment (lib, "mmdevapi") #endif #endif #endif |