]> git.gag.com Git - fw/sdcc/blobdiff - src/regression/compare7.c
* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / src / regression / compare7.c
index ea0e8b2e0c8f5f5b602bb823662631f8afda8618..1c025c6486cad1603ff11c4026419c7e2cd3bec5 100644 (file)
@@ -1,5 +1,5 @@
 #include "gpsim_assert.h"
-#include "pic16f877.h"
+#include "picregs.h"
 // Signed comparisons of the form:  (variable<LIT)
 //
 // This regression test exercises all of the boundary
@@ -27,7 +27,7 @@ char long1 = 0;
 
 typedef unsigned int word;
 
-word at 0x2007  CONFIG = wdt_off & pwrte_on;
+//word at 0x2007  CONFIG = wdt_off & pwrte_on;
 
 void
 done()
@@ -301,8 +301,11 @@ void
 main (void)
 {
   char_compare();
+  __asm clrwdt __endasm;
   int_compare1();
+  __asm clrwdt __endasm;
   int_compare2();
+  __asm clrwdt __endasm;
 
   done ();
 }