Parcourir la source

Avoid LOGGING redefinition warnings.

Yuri Kunde Schlesner il y a 12 ans
Parent
commit
b15d631d99
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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