FreeCalypso > hg > fc-magnetite
diff src/gpf2/osl/os_tim_fl.c @ 501:c4117b996197
OSL: os_tim_fl.c compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 24 Jun 2018 23:53:33 +0000 |
parents | 91e8dac34ada |
children |
line wrap: on
line diff
--- a/src/gpf2/osl/os_tim_fl.c Sun Jun 24 22:42:26 2018 +0000 +++ b/src/gpf2/osl/os_tim_fl.c Sun Jun 24 23:53:33 2018 +0000 @@ -6,8 +6,7 @@ /* set of included headers from COFF symtab: */ #include <stdio.h> -#include "gpfconf.h" /* FreeCalypso addition */ -#include "../../nucleus/nucleus.h" +#include "nucleus.h" #include "typedefs.h" #include "os.h" #include "gdi.h" @@ -35,7 +34,11 @@ NU_SEMAPHORE TimSemCB; NU_TIMER os_timer_cb; +#ifdef __GNUC__ #define BARRIER asm volatile ("": : :"memory") +#else +#define BARRIER /* prayer */ +#endif GLOBAL LONG os_set_tick(int os_system_tick)