"Jamie Deppeler" <jamie@doitonce.net.au> writes >
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing
> -I../../src/port -DFRONTEND -I../../src/include
> -I./src/include/port/win32 -DEXEC_BACKEND
> "-I../../src/include/port/win32" -c -o open.o open.c
> open.c: In function `win32_open':
> open.c:67: `O_SEQUENTIAL' undeclared (first use in this function)
> open.c:67: (Each undeclared identifier is reported only once
> open.c:67: for each function it appears in.)
> make[2]: *** [open.o] Error 1
O_SEQUENTIAL is defined in \include\fcntl.h. I guess your mingw missed a
line:
#define O_SEQUENTIAL _O_SEQUENTIAL
Update it or simply add this line should be ok.
Regards,
Qingqing