summaryrefslogtreecommitdiff
path: root/src/common/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/timer.h')
-rw-r--r--src/common/timer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/common/timer.h b/src/common/timer.h
index a615a5874..d45c73d12 100644
--- a/src/common/timer.h
+++ b/src/common/timer.h
@@ -11,9 +11,11 @@
#define INVALID_TIMER -1
// timer flags
-#define TIMER_ONCE_AUTODEL 0x01
-#define TIMER_INTERVAL 0x02
-#define TIMER_REMOVE_HEAP 0x10
+enum {
+ TIMER_ONCE_AUTODEL = 0x01,
+ TIMER_INTERVAL = 0x02,
+ TIMER_REMOVE_HEAP = 0x10,
+};
// Struct declaration