Преглед изворни кода

- __td_debug is only needed if NDEBUG is not defined.

Bernhard Reutner-Fischer пре 20 година
родитељ
комит
ba04ff722d
2 измењених фајлова са 4 додато и 2 уклоњено
  1. 2 1
      libpthread/linuxthreads.old_db/td_init.c
  2. 2 1
      libpthread/linuxthreads_db/td_init.c

+ 2 - 1
libpthread/linuxthreads.old_db/td_init.c

@@ -20,8 +20,9 @@
 
 #include "thread_dbP.h"
 
+#ifndef NDEBUG
 int __td_debug;
-
+#endif
 
 td_err_e
 td_init (void)

+ 2 - 1
libpthread/linuxthreads_db/td_init.c

@@ -20,8 +20,9 @@
 
 #include "thread_dbP.h"
 
+#ifndef NDEBUG
 int __td_debug;
-
+#endif
 
 td_err_e
 td_init (void)