summaryrefslogtreecommitdiff
path: root/src/utils/mkdir.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
commit5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch)
tree5316f688c7f617776b7e70c9f64932fe7596cadb /src/utils/mkdir.cpp
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadmanaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
Diffstat (limited to 'src/utils/mkdir.cpp')
-rw-r--r--src/utils/mkdir.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp
index a031fe717..84c205b33 100644
--- a/src/utils/mkdir.cpp
+++ b/src/utils/mkdir.cpp
@@ -29,7 +29,7 @@
#include <sys/stat.h>
-#ifdef _MKDIR_TEST_
+#ifdef M_MKDIR_TEST_
// compile with -D_MKDIR_TEST_ to get a standalone binary
#include <cstdio>
#include <cstdlib>
@@ -94,7 +94,7 @@ int mkdir_r(const char *pathname)
return -1;
}
-#ifdef _MKDIR_TEST_
+#ifdef M_MKDIR_TEST_
printf("%s\n", tmp);
#endif
*p = '/';
@@ -153,7 +153,7 @@ int mkdir_r(const char *pathname)
return -1;
}
-#ifdef _MKDIR_TEST_
+#ifdef M_MKDIR_TEST_
printf("%s\n", tmp);
#endif
*p = '/';
@@ -164,7 +164,7 @@ int mkdir_r(const char *pathname)
}
#endif
-#ifdef _MKDIR_TEST_
+#ifdef M_MKDIR_TEST_
int main(int argc, char** argv)
{
if (argc < 2) exit(1);