diff dmd/mars.h @ 708:fd5665da3a27

Hopefully sensible command switch handling. Changed default ext to .o on Windows.
author Christian Kamm <kamm incasoftware de>
date Thu, 16 Oct 2008 22:07:02 +0200
parents ed9a9e6dd1cc
children 55f6c2e454d7
line wrap: on
line diff
--- a/dmd/mars.h	Wed Oct 15 20:22:18 2008 +0200
+++ b/dmd/mars.h	Thu Oct 16 22:07:02 2008 +0200
@@ -46,6 +46,12 @@
     ARCHppc,
     ARCHppc_64
 };
+enum OUTPUTFLAG
+{
+    OUTPUTFLAGno,
+    OUTPUTFLAGdefault, // for the .o default
+    OUTPUTFLAGset // for -output
+};
 
 enum OS
 {
@@ -161,6 +167,9 @@
     char *mars_ext;
     char *sym_ext;
     char *obj_ext;
+#if _WIN32
+    char *obj_ext_alt;
+#endif
     char *ll_ext;
     char *bc_ext;
     char *s_ext;