sokol: fix compilation with tcc on windows (#7476)

pull/7481/head
spaceface 2020-12-22 21:35:27 +01:00 committed by GitHub
parent 4069a4c55d
commit 6aadc828b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -1272,15 +1272,15 @@ inline int sapp_run(const sapp_desc& desc) { return sapp_run(&desc); }
#pragma comment (linker, "/subsystem:windows") #pragma comment (linker, "/subsystem:windows")
#endif #endif
#pragma comment (lib, "user32.lib") #pragma comment (lib, "user32")
#pragma comment (lib, "Shell32.lib") #pragma comment (lib, "Shell32")
#if defined(SOKOL_D3D11) #if defined(SOKOL_D3D11)
#pragma comment (lib, "dxgi.lib") #pragma comment (lib, "dxgi")
#pragma comment (lib, "d3d11.lib") #pragma comment (lib, "d3d11")
#pragma comment (lib, "dxguid.lib") #pragma comment (lib, "dxguid")
#endif #endif
#if defined(SOKOL_GLCORE33) #if defined(SOKOL_GLCORE33)
#pragma comment (lib, "gdi32.lib") #pragma comment (lib, "gdi32")
#endif #endif
#if defined(SOKOL_D3D11) #if defined(SOKOL_D3D11)
@ -1322,8 +1322,8 @@ inline int sapp_run(const sapp_desc& desc) { return sapp_run(&desc); }
#include <d3d11_3.h> #include <d3d11_3.h>
#include <DirectXMath.h> #include <DirectXMath.h>
#pragma comment (lib, "WindowsApp.lib") #pragma comment (lib, "WindowsApp")
#pragma comment (lib, "dxguid.lib") #pragma comment (lib, "dxguid")
#elif defined(_SAPP_ANDROID) #elif defined(_SAPP_ANDROID)
#include <pthread.h> #include <pthread.h>
#include <unistd.h> #include <unistd.h>