A
Al-Burak
I have a class that uses the file I/O functions in unistd.h such as
'access( const char*, F_OK )' and others. When compiling under UNIX or
Cygwin there is no problem, but under Mingw this functions are not even
recognized by the compiler when it displays
'gnu_io.cpp:10: error: `F_OK' undeclared (first use this function)'
'gnu_io.cpp:10: error: `access' undeclared (first use this function)'
What can I do to fix this problem?
TIA
'access( const char*, F_OK )' and others. When compiling under UNIX or
Cygwin there is no problem, but under Mingw this functions are not even
recognized by the compiler when it displays
'gnu_io.cpp:10: error: `F_OK' undeclared (first use this function)'
'gnu_io.cpp:10: error: `access' undeclared (first use this function)'
What can I do to fix this problem?
TIA