mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: fix compilation with tcc on windows (#7476)
This commit is contained in:
parent
4069a4c55d
commit
6aadc828b1
16
thirdparty/sokol/sokol_app.h
vendored
16
thirdparty/sokol/sokol_app.h
vendored
@ -1272,15 +1272,15 @@ inline int sapp_run(const sapp_desc& desc) { return sapp_run(&desc); }
|
||||
#pragma comment (linker, "/subsystem:windows")
|
||||
#endif
|
||||
|
||||
#pragma comment (lib, "user32.lib")
|
||||
#pragma comment (lib, "Shell32.lib")
|
||||
#pragma comment (lib, "user32")
|
||||
#pragma comment (lib, "Shell32")
|
||||
#if defined(SOKOL_D3D11)
|
||||
#pragma comment (lib, "dxgi.lib")
|
||||
#pragma comment (lib, "d3d11.lib")
|
||||
#pragma comment (lib, "dxguid.lib")
|
||||
#pragma comment (lib, "dxgi")
|
||||
#pragma comment (lib, "d3d11")
|
||||
#pragma comment (lib, "dxguid")
|
||||
#endif
|
||||
#if defined(SOKOL_GLCORE33)
|
||||
#pragma comment (lib, "gdi32.lib")
|
||||
#pragma comment (lib, "gdi32")
|
||||
#endif
|
||||
|
||||
#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 <DirectXMath.h>
|
||||
|
||||
#pragma comment (lib, "WindowsApp.lib")
|
||||
#pragma comment (lib, "dxguid.lib")
|
||||
#pragma comment (lib, "WindowsApp")
|
||||
#pragma comment (lib, "dxguid")
|
||||
#elif defined(_SAPP_ANDROID)
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
Reference in New Issue
Block a user