diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-12-27 13:07:11 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-12-27 13:18:24 +0200 |
commit | c318f3b0224a57102614be0efec4b49c80a3aa82 (patch) | |
tree | a79ef6e3fc20c2323084a8a845ba32619427f26d /tools | |
parent | 90649a207822e1fb402599987b1ac3d4705b1330 (diff) |
Check for _MSC_VER instead of MSC in sources
Change-Id: Ibaf2501e6b655913963a53c1cd63668f1c4cccb2
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/fsys/dirent.cxx | 2 |
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()); |