Browse Source

Avoid LOGGING redefinition warnings.

Yuri Kunde Schlesner 12 năm trước cách đây
mục cha
commit
b15d631d99
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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