From f2b0f57bdb1f750e2f666470da5ecaac19a2b296 Mon Sep 17 00:00:00 2001 From: jesusc Date: Tue, 27 Apr 2004 11:32:03 +0000 Subject: [PATCH] sdccconf.h is not available in WIN32 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3300 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 4 ++++ as/hc08/lkelf.c | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 33725264..ae294ea0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-04-27 Jesus Calvino-Fraga + + * as/hc08/lkelf.c: sdccconf.h is not available in WIN32 + 2004-04-24 Erik Petrich * src/SDCCpeeph.c (replaceRule): support empty replacement peephole diff --git a/as/hc08/lkelf.c b/as/hc08/lkelf.c index d024770b..edaad5bc 100644 --- a/as/hc08/lkelf.c +++ b/as/hc08/lkelf.c @@ -23,7 +23,16 @@ #include #include #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; -- 2.30.2