Просмотр исходного кода

keep __USE_GNU for program_invocation_*_name

Peter S. Mazinger 18 лет назад
Родитель
Сommit
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