File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2220,6 +2220,12 @@ inline void sapp_run(const sapp_desc& desc) { return sapp_run(&desc); }
2220
2220
#include <windows.h>
2221
2221
#include <windowsx.h>
2222
2222
#include <shellapi.h>
2223
+
2224
+ #if defined(__GNUC__ )
2225
+ #pragma GCC diagnostic push
2226
+ #pragma GCC diagnostic ignored "-Wunknown-pragmas"
2227
+ #endif
2228
+
2223
2229
#if !defined(SOKOL_NO_ENTRY ) // if SOKOL_NO_ENTRY is defined, it's the application's responsibility to use the right subsystem
2224
2230
2225
2231
#if defined(SOKOL_WIN32_FORCE_MAIN ) && defined(SOKOL_WIN32_FORCE_WINMAIN )
@@ -2242,6 +2248,10 @@ inline void sapp_run(const sapp_desc& desc) { return sapp_run(&desc); }
2242
2248
#pragma comment (lib, "d3d11")
2243
2249
#endif
2244
2250
2251
+ #if defined(__GNUC__ )
2252
+ #pragma GCC diagnostic pop
2253
+ #endif
2254
+
2245
2255
#if defined(SOKOL_D3D11 )
2246
2256
#ifndef D3D11_NO_HELPERS
2247
2257
#define D3D11_NO_HELPERS
You can’t perform that action at this time.
0 commit comments