Procházet zdrojové kódy

Avoid LOGGING redefinition warnings.

Yuri Kunde Schlesner před 12 roky
rodič
revize
b15d631d99
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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