summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-12-27 13:07:11 +0200
committerTor Lillqvist <tml@iki.fi>2012-12-27 13:18:24 +0200
commitc318f3b0224a57102614be0efec4b49c80a3aa82 (patch)
treea79ef6e3fc20c2323084a8a845ba32619427f26d /tools
parent90649a207822e1fb402599987b1ac3d4705b1330 (diff)
Check for _MSC_VER instead of MSC in sources
Change-Id: Ibaf2501e6b655913963a53c1cd63668f1c4cccb2
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/dirent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx
index cc0d3ff73490..1e9000b9c2c4 100644
--- a/tools/source/fsys/dirent.cxx
+++ b/tools/source/fsys/dirent.cxx
@@ -1337,7 +1337,7 @@ DirEntry DirEntry::TempName( DirEntryKind eKind ) const
* Welcome to the 21st century, we can have longer filenames now ;)
* New format: pfx + "5 char milli/micro second res" + "current pid" + ".tmp"
*/
-#if (defined MSC || defined __MINGW32__) && defined WNT
+#ifdef _WIN32
/* Milliseconds !! */
static unsigned long u = GetTickCount();
unsigned long mypid = static_cast<unsigned long>(_getpid());