]> git.gag.com Git - fw/sdcc/blobdiff - as/hc08/lkelf.c
sdccconf.h is not available in WIN32
[fw/sdcc] / as / hc08 / lkelf.c
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;