Parcourir la source

AK+Meta: Define a debug flag for LibTimeZone

Timothy Flynn il y a 2 ans
Parent
commit
5f9d8f25c6
2 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 4 0
      AK/Debug.h.in
  2. 1 0
      Meta/CMake/all_the_debug_macros.cmake

+ 4 - 0
AK/Debug.h.in

@@ -450,6 +450,10 @@
 #cmakedefine01 TEXTEDITOR_DEBUG
 #endif
 
+#ifndef TIME_ZONE_DEBUG
+#cmakedefine01 TIME_ZONE_DEBUG
+#endif
+
 #ifndef TLS_DEBUG
 #cmakedefine01 TLS_DEBUG
 #endif

+ 1 - 0
Meta/CMake/all_the_debug_macros.cmake

@@ -187,6 +187,7 @@ set(TERMCAP_DEBUG ON)
 set(TERMINAL_DEBUG ON)
 set(TEXTEDITOR_DEBUG ON)
 set(THREAD_DEBUG ON)
+set(TIME_ZONE_DEBUG ON)
 set(TLS_DEBUG ON)
 set(TLS_SSL_KEYLOG_DEBUG ON)
 set(TOKENIZER_TRACE_DEBUG ON)