From: Jerome St-Louis Date: Sat, 29 Mar 2014 04:13:41 +0000 (-0400) Subject: ecs; epj2make: Fixed compilation with DEBUG=y on non-Windows X-Git-Tag: 0.44.10PR1~478 X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=29ed8f803de4fb6afaed2191bab2be02aa2d573c ecs; epj2make: Fixed compilation with DEBUG=y on non-Windows --- diff --git a/compiler/ecs/ecs.ec b/compiler/ecs/ecs.ec index 66fee87..8f5638e 100644 --- a/compiler/ecs/ecs.ec +++ b/compiler/ecs/ecs.ec @@ -2064,7 +2064,7 @@ class SymbolgenApp : Application delete argv; */ -#ifdef _DEBUG +#if defined(_DEBUG) && defined(__WIN32__) getch(); #endif } diff --git a/epj2make/epj2make.ec b/epj2make/epj2make.ec index f054fb8..ba0feac 100644 --- a/epj2make/epj2make.ec +++ b/epj2make/epj2make.ec @@ -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 }