summaryrefslogtreecommitdiff
path: root/gme/Hes_Cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'gme/Hes_Cpu.h')
-rw-r--r--gme/Hes_Cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gme/Hes_Cpu.h b/gme/Hes_Cpu.h
index c49570d0..437d0908 100644
--- a/gme/Hes_Cpu.h
+++ b/gme/Hes_Cpu.h
@@ -5,10 +5,11 @@
#define HES_CPU_H
#include "blargg_common.h"
+#include <limits.h>
typedef blargg_long hes_time_t; // clock cycle count
typedef unsigned hes_addr_t; // 16-bit address
-#define future_hes_time (LONG_MAX / 2 + 1)
+enum { future_hes_time = LONG_MAX / 2 + 1 };
class Hes_Cpu {
public: