rnd-20020810-2-src
[rocksndiamonds.git] / src / libgame / system.c
index cc7dc2aa33fb4111ff5f737ca76a4a731437960c..5c0b4fbe9aeb81e1602c6bf6bed9efa6ced49d6f 100644 (file)
@@ -94,6 +94,9 @@ void InitPlatformDependantStuff(void)
 
 #if !defined(PLATFORM_UNIX)
   program.userdata_directory = "userdata";
+#endif
+
+#if defined(PLATFORM_MSDOS)
   initErrorFile();
 #endif
 
@@ -105,7 +108,7 @@ void InitPlatformDependantStuff(void)
 
 void ClosePlatformDependantStuff(void)
 {
-#if !defined(PLATFORM_UNIX)
+#if defined(PLATFORM_MSDOS)
   dumpErrorFile();
 #endif
 }