#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;
}
/* Copy the data into the image buffer */
- for (i = 2; i < rtcnt ; i++, address++)
+ for (i = 2; i < rtcnt ; i++)
{
if (rtflg[i])
{
execStartLSBfound = 1;
}
}
+ address++;
}
}
}