OSDN Git Service
(root)
/
heavyosecpu
/
HeavyOSECPU.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a603aa3
)
Automatic OS configurations
author
ttwilb
<ttwilb@users.sourceforge.jp>
Mon, 10 Mar 2014 14:13:14 +0000
(23:13 +0900)
committer
ttwilb
<ttwilb@users.sourceforge.jp>
Mon, 10 Mar 2014 14:13:14 +0000
(23:13 +0900)
osecpu.h
patch
|
blob
|
history
diff --git
a/osecpu.h
b/osecpu.h
index
8bb2e0c
..
85aff28
100644
(file)
--- a/
osecpu.h
+++ b/
osecpu.h
@@
-15,6
+15,7
@@
#include <setjmp.h>
#include <stdlib.h>
+
//
// Compile options
//
@@
-27,7
+28,17
@@
// 1 : Windows 32bit
// 2 : Mac OSX 32bit
// 3 : blike for Linux
-#define DRV_OSNUM 0x0002
+
+#ifdef _WIN32
+#define DRV_OSNUM 0x0001
+#endif
+#ifdef __APPLE__
+#define DRV_OSNUM 0x0002
+#endif
+#ifdef __linux__
+#define DRV_OSNUM 0x0003
+#endif
+//#define DRV_OSNUM 0x0002
// Decoder (syslib.ose) setting
// syslib.ose is necessary to work OSECPU