about summary refs log tree commit diff
path: root/conform/data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data')
-rw-r--r--conform/data/ftw.h-data9
1 files changed, 9 insertions, 0 deletions
diff --git a/conform/data/ftw.h-data b/conform/data/ftw.h-data
index 0fa586a6fc..9102bbece1 100644
--- a/conform/data/ftw.h-data
+++ b/conform/data/ftw.h-data
@@ -1,13 +1,19 @@
 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+# ifndef XPG3
 type {struct FTW}
 element {struct FTW} int base
 element {struct FTW} int level
+# endif
 
 macro FTW_F
 macro FTW_D
 macro FTW_DNR
+# if !defined XPG3 && !defined XPG4
 macro FTW_DP
+# endif
 macro FTW_NS
+
+# ifndef XPG3
 macro FTW_SL
 macro FTW_SLN
 
@@ -15,9 +21,12 @@ macro FTW_PHYS
 macro FTW_MOUNT
 macro FTW_DEPTH
 macro FTW_CHDIR
+# endif
 
 function int ftw (const char*, int (*) (const char *, const struct stat*, int), int)
+# ifndef XPG3
 function int nftw (const char*, int (*) (const char *, const struct stat*, int, struct FTW *), int, int)
+# endif
 
 allow-header sys/stat.h