OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23e5942
)
[VM] device.h : selectable shared device or not shared.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Sat, 4 Feb 2017 02:56:59 +0000
(11:56 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Sat, 4 Feb 2017 02:56:59 +0000
(11:56 +0900)
source/src/vm/device.h
patch
|
blob
|
history
diff --git
a/source/src/vm/device.h
b/source/src/vm/device.h
index
e03ae12
..
2a6d74c
100644
(file)
--- a/
source/src/vm/device.h
+++ b/
source/src/vm/device.h
@@
-47,6
+47,9
@@
#define SIG_SCSI_ACK 309
#define SIG_SCSI_RST 310
+#if defined(USE_DEVICES_SHARED_LIB)
+#include "libcpu_newdev/device.h"
+#else
class DEVICE
{
protected:
@@
-780,5
+783,6
@@
public:
DEVICE* next_device;
int this_device_id;
};
+#endif //USE_DEVICES_SHARED_LIB
#endif