summaryrefslogtreecommitdiff
path: root/src/lib/libast/features/eaccess
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libast/features/eaccess')
-rw-r--r--src/lib/libast/features/eaccess11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/libast/features/eaccess b/src/lib/libast/features/eaccess
new file mode 100644
index 0000000..bf9710a
--- /dev/null
+++ b/src/lib/libast/features/eaccess
@@ -0,0 +1,11 @@
+lib eaccess,euidaccess
+macro{
+ #include <sys/types.h>
+ #include <unistd.h>
+ #ifdef EFF_ONLY_OK
+ <<"#define EFF_ONLY_OK">> EFF_ONLY_OK
+ #endif
+ #ifdef EX_OK
+ <<"#define EX_OK">> EX_OK
+ #endif
+}end