Explorar el Código

Avoid LOGGING redefinition warnings.

Yuri Kunde Schlesner hace 12 años
padre
commit
b15d631d99
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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