[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mingw32, unistd.h and my program
From: |
Al-Burak |
Subject: |
Mingw32, unistd.h and my program |
Date: |
19 Oct 2005 21:02:41 -0700 |
User-agent: |
G2/0.2 |
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