Browse Source

- s/if USE___THREAD/if defined USE___THREAD && USE___THREAD/g

Bernhard Reutner-Fischer 18 years ago
parent
commit
c5db1d4612
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libc/sysdeps/linux/common/bits/uClibc_errno.h

+ 2 - 2
libc/sysdeps/linux/common/bits/uClibc_errno.h

@@ -12,7 +12,7 @@
 extern int _dl_errno; // attribute_hidden;
 #elif defined __UCLIBC_HAS_THREADS__
 # include <tls.h>
-# if USE___THREAD
+# if defined USE___THREAD && USE___THREAD
 #  undef errno
 #  ifndef NOT_IN_libc
 #   define errno __libc_errno
@@ -33,7 +33,7 @@ extern int *__errno_location (void) __THROW __attribute__ ((__const__))
 ;
 # if defined __UCLIBC_HAS_THREADS__
 #  include <tls.h>
-#  if USE___THREAD
+#  if defined USE___THREAD && USE___THREAD
 libc_hidden_proto(__errno_location)
 #  endif
 # endif