aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Utilities/Util.cpp
diff options
context:
space:
mode:
authorXanadu <none@none>2010-06-23 01:47:41 +0200
committerXanadu <none@none>2010-06-23 01:47:41 +0200
commitffaffe3fd753b0afc75679c9730276871a9d034a (patch)
treef51f59797532a307b6f8f426fd22e593c4418070 /src/server/shared/Utilities/Util.cpp
parent27062ffd6173b0ea1181353eeade6935e355e351 (diff)
* Renamed several VS projects and the executables they produce to reflect the new naming convention.
* Cleaned up some useless and redundant preprocessor definitions. * Fixed the win build so that it correctly uses the mysql lib it built from the sources. * Note that you still need to use 8615_mysql_openssl_libs.zip for the OpenSSL binaries. * Also note that Win x64 build from the existing VS files is still fubar (mysql lib...). --HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Utilities/Util.cpp')
-rw-r--r--src/server/shared/Utilities/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/shared/Utilities/Util.cpp b/src/server/shared/Utilities/Util.cpp
index 14c0431c967..97dfde6c92b 100644
--- a/src/server/shared/Utilities/Util.cpp
+++ b/src/server/shared/Utilities/Util.cpp
@@ -195,7 +195,7 @@ uint32 CreatePIDFile(const std::string& filename)
if (pid_file == NULL)
return 0;
-#ifdef WIN32
+#ifdef _WIN32
DWORD pid = GetCurrentProcessId();
#else
pid_t pid = getpid();