瀏覽代碼

- __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)