mirror of
https://github.com/godotengine/godot.git
synced 2025-01-10 03:51:21 +00:00
Fix mingw windows build error
This commit is contained in:
parent
91faf8e218
commit
9f61a4881e
@ -57,7 +57,11 @@
|
||||
static const WORD MAX_CONSOLE_LINES = 1500;
|
||||
|
||||
extern "C" {
|
||||
#ifdef _MSC_VER
|
||||
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
#else
|
||||
__attribute__((visibility("default"))) DWORD NvOptimusEnablement = 0x00000001;
|
||||
#endif
|
||||
}
|
||||
|
||||
//#define STDOUT_FILE
|
||||
|
Loading…
Reference in New Issue
Block a user