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

keep __USE_GNU for program_invocation_*_name

Peter S. Mazinger пре 20 година
родитељ
комит
316bfa4bca
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      include/errno.h

+ 1 - 1
include/errno.h

@@ -49,7 +49,7 @@ extern int errno;
 # endif
 #endif
 
-#ifdef __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__
+#if defined __USE_GNU && defined __UCLIBC_HAS_PROGRAM_INVOCATION_NAME__
 
 /* The full and simple forms of the name with which the program was
    invoked.  These variables are set up automatically at startup based on