Commit Graph

251 Commits (fd416db406f9efdbbdbd7b63ea4f9ccf47eec8b3)

Author SHA1 Message Date
Tom Lane ce53791b2a Assorted portability fixes for Borland C, from Pavel Golub. 17 years ago
Magnus Hagander 0154345078 Make win32 builds always do SetEnvironmentVariable() when doing putenv(). 17 years ago
Bruce Momjian d00a3472cf Update MinGW so it handles fseeko() similar to Unix. 17 years ago
Peter Eisentraut 21a743e886 Move carefully obscured SunOS 4 specific #include out of c.h into port 17 years ago
Andrew Dunstan 53972b460c Add $PostgreSQL$ markers to a lot of files that were missing them. 18 years ago
Tom Lane cd00406774 Replace time_t with pg_time_t (same values, but always int64) in on-disk 18 years ago
Magnus Hagander 8d546c7170 Don't enforce 32-bit time_t for FRONTEND apps. Fixes standalone 18 years ago
Magnus Hagander 22867ab986 Use _USE_32BIT_TIME_T when building with MSVC. Also, enforce that it's 18 years ago
Bruce Momjian 0d072761d3 Borland BCC does not support SSPI, per cnliou9@fastmail.fm. 18 years ago
Bruce Momjian 7a1b72f6ef Borland CC 5.5.1 needs ssize_t, per cnliou9@fastmail.fm. 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Magnus Hagander 6f14effbf9 New versions of mingw have gettimeofday(), so add an autoconf test 18 years ago
Magnus Hagander bb98b2e27e Change win32 child-death tracking code to use a threadpool to wait for 18 years ago
Magnus Hagander 906b2e1b37 Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with 19 years ago
Magnus Hagander d602592494 Make it possible, and default, for MingW to build with SSPI support 19 years ago
Tom Lane 1c7fe33fdb Fix failure to restart Postgres when Linux kernel returns EIDRM for shmctl(). 19 years ago
Tom Lane 37a609b27f Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be 19 years ago
Magnus Hagander 1ca6ab1c78 Remove headers for old sysv shmem emulation that I forgot. 19 years ago
Tom Lane 4355d214c2 On Windows, use pgwin32_waitforsinglesocket() instead of select() to wait for 19 years ago
Bruce Momjian 70268b50dd Update Win32 exception comment. 19 years ago
Bruce Momjian 867c133599 Add comment about exception lists in both winnt.h and ntstatus.h. 19 years ago
Bruce Momjian 882b9948d7 Back out use of FormatMessage(), does error values, not exception 19 years ago
Bruce Momjian 610f60a092 Print meaningfull error text for abonormal process exit on Win32, rather 19 years ago
Bruce Momjian d26a5f1fea Uppercase hex value. 19 years ago
Bruce Momjian 208ae0c290 When system() fails in Win32, report it as an exception, print the 19 years ago
Bruce Momjian a5ec2ec77a Allow Borland CC to compile libpq and psql. 19 years ago
Tom Lane c4e7e675d8 Make sure BYTE_ORDER gets defined in 64-bit builds on Solaris, 19 years ago
Bruce Momjian cac2d912d9 finite() no longer used; remove finite() platform-specific 19 years ago
Tom Lane f6e00ae128 Further MSVC portability fixes from Magnus. 20 years ago
Tom Lane b2c04d5e6b Work around buggy strtod on (some versions of?) IRIX. Combination of 20 years ago
Bruce Momjian 03ea9ecbda Update Solaris strtod() bug comment. 20 years ago
Bruce Momjian 50a3fb9f22 Update Solaris strtol() bug comment. 20 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 20 years ago
Tom Lane 0184c6835c Rearrange MSVC errcode hack, fix incorrect _MSC_VER test. Magnus 20 years ago
Bruce Momjian 878f32feab Move WIN32_ONLY_COMPILER define from c.h to win32.h because it was being 20 years ago
Tom Lane 801cbe3310 Define errcode as __msvc_errcode not __vc_errcode for MSVC builds, 20 years ago
Bruce Momjian e860e746e1 Return inline to win32.h because code was OK, but keep additional 20 years ago
Bruce Momjian 3929b6e9f6 Move "#define inline __inline" from port/win32.h to c.h because Win32 20 years ago
Bruce Momjian f896b5e146 Formatting improvement. 20 years ago
Bruce Momjian c554bf878f Fix definition of "errcode" for MSVC. 20 years ago
Bruce Momjian 1a271f0c71 Fix WIN32 wait() return value macros to be accurate, particularly 20 years ago
Tom Lane 93120f3501 In a Windows backend, don't build src/port/pgsleep.c's version of 20 years ago
Tom Lane 808849e54f Fix lack of repeat-inclusion guard in win32 substitute sys/socket.h. 20 years ago
Tom Lane c713683fd7 Reverse inclusion order of <ws2tcpip.h> and <winsock2.h>, per Dave Page. 20 years ago
Bruce Momjian e56756e94e Use Unix line endings instead of DOS ones, per Magnus. 20 years ago
Bruce Momjian e2fee8cf6d Update include files to Unix newline format, per report from Magnus. 20 years ago
Bruce Momjian 399a36a75d Prepare code to be built by MSVC: 20 years ago
Bruce Momjian f3d99d160d Add CVS tag lines to files that were lacking them. 20 years ago
Bruce Momjian 502e9aefdc Clarify macro layout for win32 IMPORT. 20 years ago
Tom Lane 558bc2584d Fix fsync code to test whether F_FULLFSYNC is available, instead of 20 years ago