Re: Make Problems - Mailing list pgsql-hackers

From Qingqing Zhou
Subject Re: Make Problems
Date
Msg-id d8obp3$2inb$1@news.hub.org
Whole thread Raw
In response to Make Problems  (Jamie Deppeler <jamie@doitonce.net.au>)
List pgsql-hackers
"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





pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: LGPL
Next
From: Neil Conway
Date:
Subject: Re: Autovacuum in the backend