Sfoglia il codice sorgente

Avoid LOGGING redefinition warnings.

Yuri Kunde Schlesner 12 anni fa
parent
commit
b15d631d99
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/common/log.h

+ 2 - 0
src/common/log.h

@@ -4,7 +4,9 @@
 
 #pragma once
 
+#ifndef LOGGING
 #define LOGGING
+#endif
 
 enum {
     OS_LEVEL,       // Printed by the emulated operating system