Added missing include guard to opcodes.h
authorslack <slack@codemaniacs.com>
Mon, 22 Sep 2008 15:48:56 +0000 (17:48 +0200)
committerslack <slack@codemaniacs.com>
Mon, 22 Sep 2008 15:48:56 +0000 (17:48 +0200)
opcodes.h

index bd8d29fc6e4c23cd1d215c3c47472dbc6309fda6..f2507d11a6d27a2a2915dc16d1550d56b49dd559 100644 (file)
--- a/opcodes.h
+++ b/opcodes.h
@@ -18,6 +18,9 @@
 
 // Macro definitions to avoid unnecesary repetition in gbcore.cc
 
+#ifndef OPCODES_H
+#define OPCODES_H
+
 #define set_flag_if(cond, flag) \
        if (cond) set_flag(flag); \
        else reset_flag(flag)
 
 
 
-
+#endif