Explorar o código

Avoid LOGGING redefinition warnings.

Yuri Kunde Schlesner %!s(int64=12) %!d(string=hai) anos
pai
achega
b15d631d99
Modificáronse 1 ficheiros con 2 adicións e 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