소스 검색

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
 #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