summaryrefslogtreecommitdiff
path: root/source3/locking/shmem_sysv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking/shmem_sysv.c')
-rw-r--r--source3/locking/shmem_sysv.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/locking/shmem_sysv.c b/source3/locking/shmem_sysv.c
index 3466930f4c..0809e0546f 100644
--- a/source3/locking/shmem_sysv.c
+++ b/source3/locking/shmem_sysv.c
@@ -23,7 +23,7 @@
#include "includes.h"
-#ifdef USE_SYSV_IPC
+#ifdef HAVE_SYSV_IPC
extern int DEBUGLEVEL;
@@ -542,15 +542,6 @@ struct shmem_ops *sysv_shm_open(int ronly)
int i;
int pid;
-
-
-#ifdef LINUX
- if (sizeof(shm_ds) == 52) {
- DEBUG(0,("WARNING: You probably have a broken set of glibc2 include files - disabling sysv shared memory\n"));
- return NULL;
- }
-#endif
-
read_only = ronly;
shm_size = lp_shmem_size();