aboutsummaryrefslogtreecommitdiffstats
path: root/include/errno.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h
index 0b6232f..0415cfb 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -41,6 +41,7 @@
volatile int* __errno(void) __GCC_ONLY(__attribute__((__const__))); /* TODO not implemented */
+#ifndef _PORTABLE_SOURCE
/**
* This is the name that was used to invoke the program
* running in the current process. This is the value
@@ -74,6 +75,7 @@ extern char* program_invocation_name; /* TODO not implemented */
#if defined(_GNU_SOURCE)
extern char* program_invocation_short_name; /* TODO not implemented */
#endif
+#endif