sdccconf.h is not available in WIN32
authorjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 27 Apr 2004 11:32:03 +0000 (11:32 +0000)
committerjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 27 Apr 2004 11:32:03 +0000 (11:32 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3300 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
as/hc08/lkelf.c

index 337252645af378ec1717da4d8c7923ec8c87807c..ae294ea0ffef77108c122704774752989df8bac0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-27 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
+
+       * as/hc08/lkelf.c: sdccconf.h is not available in WIN32
+
 2004-04-24 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
 
        * src/SDCCpeeph.c (replaceRule): support empty replacement peephole
index d024770b55ad839ca52bf6b5a79851b55be4a091..edaad5bce4169cf4d0713e77d35d2dfe32220e21 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include "aslink.h"
-#include "sdccconf.h"
+
+#ifdef _WIN32
+#  ifdef __MINGW32__ /* GCC MINGW32 depends on configure */
+#    include "sdccconf.h"
+#  else
+#    include "sdcc_vc.h"
+#  endif
+#else /* Assume Un*x style system */
+#  include "sdccconf.h"
+#endif
 
 static int execStartMSB;
 static int execStartLSB;