summaryrefslogtreecommitdiff
path: root/src/arch/posix
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/posix')
-rw-r--r--src/arch/posix/arch.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/posix/arch.cc b/src/arch/posix/arch.cc
index 83bf845..69dfeac 100644
--- a/src/arch/posix/arch.cc
+++ b/src/arch/posix/arch.cc
@@ -7,11 +7,11 @@
#include <time.h>
#include <unistd.h>
-#if defined(WITH_LOOP) || defined(TIMER_S)
+#if defined(CONFIG_loop) || defined(TIMER_S)
#include "driver/uptime.h"
void loop();
#endif
-#ifdef WITH_WAKEUP
+#ifdef CONFIG_wakeup
void wakeup();
#endif
@@ -21,10 +21,10 @@ void Arch::idle_loop(void)
{
while (1) {
sleep(1);
-#ifdef WITH_LOOP
+#ifdef CONFIG_loop
loop();
#endif
-#ifdef WITH_WAKEUP
+#ifdef CONFIG_wakeup
wakeup();
#endif
#ifdef TIMER_S