From: t-ishii@sra.co.jp
Marc G. Fournier <scrappy@hub.org>
From: t-ishii@sra.co.jp Ok. I have decided to use: #if defined(sun) && if defined(sparc) && !defined(__svr4) instead of defined(sunos4). interfaces/libpq/libpq-fe.h and include/c.h have been modified(see included patches). Another porblems I have found are: o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD and place it under backend/port. necessary modifications have been also made to backend/port/Makefile.in, include/config.h.in and configure.in (see included patches).
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/port/Makefile.in | modified | +2 −2 |
| src/backend/port/strtoul.c | added | +109 −0 |
| src/configure | modified | +138 −82 |
| src/configure.in | modified | +6 −1 |
| src/include/c.h | modified | +2 −2 |
| src/include/config.h.in | modified | +3 −0 |
| src/interfaces/ecpg/preproc/Makefile | modified | +1 −1 |
| src/interfaces/libpq/libpq-fe.h | modified | +2 −2 |