mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 03:15:21 +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;
|
tmpdir_create_called = true;
|
||||||
|
|
||||||
char buf[128];
|
char buf[128];
|
||||||
#if _WIN32
|
#ifdef _WIN32
|
||||||
// The usual temp file locations on Windows are
|
// The usual temp file locations on Windows are
|
||||||
// %system%\Windows\Temp
|
// %system%\Windows\Temp
|
||||||
// %userprofiles%\AppData\Local
|
// %userprofiles%\AppData\Local
|
||||||
|
|||||||
Reference in New Issue
Block a user