summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-03 19:04:37 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-03 19:04:37 +0000
commit316bfa4bcaf3d9add9261e48259259f5a5a0a319 (patch)
tree3bd9da0963a496f6102bc15984a1f9c9e2bb4fce
parent43123f2ccc714bbb4991b538dd70e411899f98e3 (diff)
keep __USE_GNU for program_invocation_*_name
-rw-r--r--include/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h
index 87b35b0bb..0a9ed3532 100644
--- a/include/errno.h
+++ b/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