OSDN Git Service

[VM][IO] Fix FTBFS.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 16 Oct 2015 18:36:13 +0000 (03:36 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 16 Oct 2015 18:36:13 +0000 (03:36 +0900)
source/src/vm/io.h

index dcd9787..7141c5f 100644 (file)
@@ -56,7 +56,9 @@ public:
                        wr_table[i].dev = rd_table[i].dev = vm->dummy;
                        wr_table[i].addr = rd_table[i].addr = i;
                }
+#ifdef _IO_DEBUG_LOG
                cpu_index = 0;
+#endif    
        }
        ~IO() {}