mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Native shared memory implementation for win32.
Uses same underlying tech as before, but not the sysv emulation layer.
This commit is contained in:
12
configure.in
12
configure.in
@ -1,5 +1,5 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl $PostgreSQL: pgsql/configure.in,v 1.502 2007/02/21 15:12:39 momjian Exp $
|
||||
dnl $PostgreSQL: pgsql/configure.in,v 1.503 2007/03/21 14:39:23 mha Exp $
|
||||
dnl
|
||||
dnl Developers, please strive to achieve this order:
|
||||
dnl
|
||||
@ -1367,9 +1367,13 @@ fi
|
||||
|
||||
|
||||
# Select shared-memory implementation type.
|
||||
AC_DEFINE(USE_SYSV_SHARED_MEMORY, 1, [Define to select SysV-style shared memory.])
|
||||
SHMEM_IMPLEMENTATION="src/backend/port/sysv_shmem.c"
|
||||
|
||||
if test "$PORTNAME" != "win32"; then
|
||||
AC_DEFINE(USE_SYSV_SHARED_MEMORY, 1, [Define to select SysV-style shared memory.])
|
||||
SHMEM_IMPLEMENTATION="src/backend/port/sysv_shmem.c"
|
||||
else
|
||||
AC_DEFINE(USE_WIN32_SHARED_MEMORY, 1, [Define to select Win32-style shared memory.])
|
||||
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
|
||||
|
Reference in New Issue
Block a user