diff options
author | Rr42 | 2018-05-30 16:57:42 +0530 |
---|---|---|
committer | Rr42 | 2018-05-30 16:57:42 +0530 |
commit | 8f1f63ff88e62cb47cad286481033275e8490650 (patch) | |
tree | 5e5711fb6434e39e0932076438b73b46f098d52b /ldmicro/miscutil.cpp | |
parent | eb8f6932fe45f550bc2b77c1b3e578884ed60d91 (diff) | |
download | LDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.tar.gz LDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.tar.bz2 LDMicroGtk-8f1f63ff88e62cb47cad286481033275e8490650.zip |
ported GetSaveFileName function from windows.h
Diffstat (limited to 'ldmicro/miscutil.cpp')
-rw-r--r-- | ldmicro/miscutil.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 |