OSDN Git Service

build: Get rids of PIC macro using compiler flag __PIC__ instead
[uclinux-h8/uClibc.git] / libpthread / nptl / sysdeps / unix / sysv / linux / i386 / sysdep.h
index f9343cc..674d5c6 100644 (file)
@@ -57,7 +57,7 @@
 
 /* We don't want the label for the error handle to be global when we define
    it here.  */
-#ifdef PIC
+#ifdef __PIC__
 # define SYSCALL_ERROR_LABEL 0f
 #else
 # define SYSCALL_ERROR_LABEL syscall_error
 
 #define ret_ERRVAL ret
 
-#ifndef PIC
+#ifndef __PIC__
 # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used.  */
 #else
 
   orl $-1, %eax;                                                             \
   jmp L(pseudo_end);
 # endif        /* _LIBC_REENTRANT */
-#endif /* PIC */
+#endif /* __PIC__ */
 
 
 /* The original calling convention for system calls on Linux/i386 is