aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-06-27 05:10:11 +0000
committerPaweł Kołodziejski2003-06-27 05:10:11 +0000
commit0ccd872187946008d20e075ad95a8568175b7a65 (patch)
treea75d12b069c40410b0d831987f9007502beb7970 /common
parentb5e081f2ae00fe9df24852736eeb4a39473eb6cd (diff)
downloadscummvm-rg350-0ccd872187946008d20e075ad95a8568175b7a65.tar.gz
scummvm-rg350-0ccd872187946008d20e075ad95a8568175b7a65.tar.bz2
scummvm-rg350-0ccd872187946008d20e075ad95a8568175b7a65.zip
chenged ifdef to handle all win32 ports
svn-id: r8666
Diffstat (limited to 'common')
-rw-r--r--common/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 798028d308..cfdd385212 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -30,7 +30,7 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char
strcpy(buf, directory);
-#ifdef _MSC_VER // FIXME: is there a better check to detect Windows ?!
+#ifndef WIN32
// Fix for Win98 issue related with game directory pointing to root drive ex. "c:\"
if ((buf[0] != 0) && (buf[1] == ':') && (buf[2] == '\\') && (buf[3] == 0)) {
buf[2] = 0;