From 8f1f63ff88e62cb47cad286481033275e8490650 Mon Sep 17 00:00:00 2001 From: Rr42 Date: Wed, 30 May 2018 16:57:42 +0530 Subject: ported GetSaveFileName function from windows.h --- ldmicro/miscutil.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ldmicro/miscutil.cpp') diff --git a/ldmicro/miscutil.cpp b/ldmicro/miscutil.cpp index defa1fa..428e5f6 100644 --- a/ldmicro/miscutil.cpp +++ b/ldmicro/miscutil.cpp @@ -89,8 +89,9 @@ void Error(char *str, ...) va_start(f, str); vsprintf(buf, str, f); if(RunningInBatchMode) { - AttachConsoleDynamic(ATTACH_PARENT_PROCESS); - + /* Only required for windows + * AttachConsoleDynamic(ATTACH_PARENT_PROCESS); + */ // Indicate that it's an error, plus the output filename printf("compile error ('%s'): ", CurrentCompileFile); // The error message itself -- cgit