use a.exe on windows
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 19 Mar 2008 23:39:28 +0000 (23:39 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 19 Mar 2008 23:39:28 +0000 (23:39 +0000)
[r18998]

main.c

diff --git a/main.c b/main.c
index 6d7d04e..65ec298 100644 (file)
--- a/main.c
+++ b/main.c
@@ -655,7 +655,11 @@ int main(int argc, char **argv)
                        outname = outnamebuf;
                        break;
                case CompileAssembleLink:
+#ifdef _WIN32
+                       outname = "a.exe";
+#else
                        outname = "a.out";
+#endif
                        break;
                }
        }