ecs; epj2make: Fixed compilation with DEBUG=y on non-Windows
authorJerome St-Louis <jerome@ecere.com>
Sat, 29 Mar 2014 04:13:41 +0000 (00:13 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sat, 29 Mar 2014 04:13:41 +0000 (00:13 -0400)
compiler/ecs/ecs.ec
epj2make/epj2make.ec

index 66fee87..8f5638e 100644 (file)
@@ -2064,7 +2064,7 @@ class SymbolgenApp : Application
       delete argv;
       */
 
-#ifdef _DEBUG
+#if defined(_DEBUG) && defined(__WIN32__)
       getch();
 #endif
    }
index f054fb8..ba0feac 100644 (file)
@@ -12,7 +12,7 @@ define pathListSep = ";";
 define pathListSep = ":";
 #endif
 
-#ifdef _DEBUG
+#if defined(_DEBUG) && defined(__WIN32__)
 extern int getch(void);
 #endif
 
@@ -400,7 +400,7 @@ class epj2makeApp : GuiApplication
 
       // CheckMemory();
       delete ideSettings;
-#ifdef _DEBUG
+#if defined(_DEBUG) && defined(__WIN32__)
       getch();
 #endif
    }