Browse Source

keep __USE_GNU for program_invocation_*_name

Peter S. Mazinger 18 years ago
parent
commit
316bfa4bca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/errno.h

+ 1 - 1
include/errno.h

@@ -49,7 +49,7 @@ extern int errno;
 # endif
 # endif
 #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
 /* The full and simple forms of the name with which the program was
    invoked.  These variables are set up automatically at startup based on
    invoked.  These variables are set up automatically at startup based on