projects
/
wenboi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c4fd6f
)
Added missing include guard to opcodes.h
author
slack
<slack@codemaniacs.com>
Mon, 22 Sep 2008 15:48:56 +0000
(17:48 +0200)
committer
slack
<slack@codemaniacs.com>
Mon, 22 Sep 2008 15:48:56 +0000
(17:48 +0200)
opcodes.h
patch
|
blob
|
history
diff --git
a/opcodes.h
b/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)
@@
-352,6
+355,6
@@
-
+#endif