mirror of
https://github.com/fltk/fltk.git
synced 2026-05-10 05:27:55 +08:00
Fix compiler warning warning [-Wundef]
warning: "_WIN32" is not defined, evaluates to 0 [-Wundef]
This commit is contained in:
+1
-1
@@ -320,7 +320,7 @@ void Application::create_tmpdir() {
|
||||
tmpdir_create_called = true;
|
||||
|
||||
char buf[128];
|
||||
#if _WIN32
|
||||
#ifdef _WIN32
|
||||
// The usual temp file locations on Windows are
|
||||
// %system%\Windows\Temp
|
||||
// %userprofiles%\AppData\Local
|
||||
|
||||
Reference in New Issue
Block a user