diff options
Diffstat (limited to 'system/include/sys/dirent.h')
-rw-r--r-- | system/include/sys/dirent.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/include/sys/dirent.h b/system/include/sys/dirent.h new file mode 100644 index 00000000..a3fb5c02 --- /dev/null +++ b/system/include/sys/dirent.h @@ -0,0 +1,13 @@ +/* <dirent.h> includes <sys/dirent.h>, which is this file. On a + system which supports <dirent.h>, this file is overridden by + dirent.h in the libc/sys/.../sys directory. On a system which does + not support <dirent.h>, we will get this file which uses #error to force + an error. */ + +#ifdef __cplusplus +extern "C" { +#endif +#error "<dirent.h> not supported" +#ifdef __cplusplus +} +#endif |