xref: /utopia/UTPA2-700.0.x/projects/tools/lint/aeon_include/sys/dirent.h (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1*53ee8cc1Swenshuai.xi /* <dirent.h> includes <sys/dirent.h>, which is this file.  On a
2*53ee8cc1Swenshuai.xi    system which supports <dirent.h>, this file is overridden by
3*53ee8cc1Swenshuai.xi    dirent.h in the libc/sys/.../sys directory.  On a system which does
4*53ee8cc1Swenshuai.xi    not support <dirent.h>, we will get this file which uses #error to force
5*53ee8cc1Swenshuai.xi    an error.  */
6*53ee8cc1Swenshuai.xi 
7*53ee8cc1Swenshuai.xi #ifdef __cplusplus
8*53ee8cc1Swenshuai.xi extern "C" {
9*53ee8cc1Swenshuai.xi #endif
10*53ee8cc1Swenshuai.xi #error "<dirent.h> not supported"
11*53ee8cc1Swenshuai.xi #ifdef __cplusplus
12*53ee8cc1Swenshuai.xi }
13*53ee8cc1Swenshuai.xi #endif
14