diff options
author | Magnus Hagander | 2007-03-21 14:39:23 +0000 |
---|---|---|
committer | Magnus Hagander | 2007-03-21 14:39:23 +0000 |
commit | 18d82d03b51f1d34e8b076e89e54a4c8e0818343 (patch) | |
tree | 011b9c702b791ad10ddb474e4cb12956d01d2710 /configure | |
parent | 3b765dba780ccb08f4ff7a693d57c19737a4d51c (diff) |
Native shared memory implementation for win32.
Uses same underlying tech as before, but not the sysv emulation layer.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure index b53acb350b2..71dbaee0aa4 100755 --- a/configure +++ b/configure @@ -22278,13 +22278,21 @@ fi # Select shared-memory implementation type. +if test "$PORTNAME" != "win32"; then cat >>confdefs.h <<\_ACEOF #define USE_SYSV_SHARED_MEMORY 1 _ACEOF -SHMEM_IMPLEMENTATION="src/backend/port/sysv_shmem.c" + SHMEM_IMPLEMENTATION="src/backend/port/sysv_shmem.c" +else + +cat >>confdefs.h <<\_ACEOF +#define USE_WIN32_SHARED_MEMORY 1 +_ACEOF + SHMEM_IMPLEMENTATION="src/backend/port/win32_shmem.c" +fi # If not set in template file, set bytes to use libc memset() if test x"$MEMSET_LOOP_LIMIT" = x"" ; then |