summaryrefslogtreecommitdiff
path: root/src/utils/specialfolder.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-04-18 14:38:08 -0700
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-18 23:56:24 +0200
commit42605753159d7b63276351311e0fd43874a3366b (patch)
treed09aeedfab835fd35e2ddebb0583a4460878cd43 /src/utils/specialfolder.cpp
parenta8489adc8c4f6fe8355ea1abbfb7be12d0e73b27 (diff)
downloadmana-42605753159d7b63276351311e0fd43874a3366b.tar.gz
mana-42605753159d7b63276351311e0fd43874a3366b.tar.bz2
mana-42605753159d7b63276351311e0fd43874a3366b.tar.xz
mana-42605753159d7b63276351311e0fd43874a3366b.zip
Remove illegal macro names starting with underscore and capital
Diffstat (limited to 'src/utils/specialfolder.cpp')
-rw-r--r--src/utils/specialfolder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/specialfolder.cpp b/src/utils/specialfolder.cpp
index 64607716..221aeac2 100644
--- a/src/utils/specialfolder.cpp
+++ b/src/utils/specialfolder.cpp
@@ -22,8 +22,8 @@
#include "specialfolder.h"
#include <windows.h>
-#ifdef _SPECIALFOLDERLOCATION_TEST_
-// compile with -D_SPECIALFOLDERLOCATION_TEST_ to get a standalone
+#ifdef SPECIALFOLDERLOCATION_TEST
+// compile with -DSPECIALFOLDERLOCATION_TEST to get a standalone
// binary for testing
#include <iostream>
#endif
@@ -59,7 +59,7 @@ std::string getSpecialFolderLocation(int folderId)
return ret;
}
-#ifdef _SPECIALFOLDERLOCATION_TEST_
+#ifdef SPECIALFOLDERLOCATION_TEST
int main()
{
std::cout << "APPDATA " << getSpecialFolderLocation(CSIDL_APPDATA)