diff src/core/filesystem.cc @ 106:c8c72278f6fd

*: #if -> #ifdef, remove outdated comments in sys/win32/dark_theme.cc
author Paper <mrpapersonic@gmail.com>
date Sun, 05 Nov 2023 04:01:58 -0500
parents 9b2b41f83a5e
children 39521c47c7a3
line wrap: on
line diff
--- a/src/core/filesystem.cc	Sun Nov 05 03:54:26 2023 -0500
+++ b/src/core/filesystem.cc	Sun Nov 05 04:01:58 2023 -0500
@@ -57,7 +57,7 @@
 }
 
 bool Path::Exists() const {
-#if WIN32
+#ifdef WIN32
 	std::wstring buf = Strings::ToWstring(_path);
 	return GetFileAttributesW(buf.c_str()) != INVALID_FILE_ATTRIBUTES;
 #else