From d99bec71701d611b0d8ee44d92cb8ed28162af56 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Apr 2000 06:11:08 +0000 Subject: got rid of some more old configure tests and includes (This used to be commit f137648504362479143d50477fa38ebf7147968b) --- source3/include/includes.h | 51 ---------------------------------------------- 1 file changed, 51 deletions(-) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index 5bc4797cb4..e19295834a 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -60,20 +60,6 @@ #endif #endif /* RELIANTUNIX */ -#ifdef HAVE_SYSV_IPC -#define USE_SYSV_IPC -#endif - -#ifdef HAVE_SHARED_MMAP -#define USE_SHARED_MMAP -#endif - - -/* if we have both SYSV IPC and shared mmap then we need to choose */ -#if (defined(USE_SYSV_IPC) && defined(USE_SHARED_MMAP)) -# undef USE_SHARED_MMAP -#endif - #include #ifdef TIME_WITH_SYS_TIME @@ -264,29 +250,6 @@ #include #endif -#ifdef HAVE_SYSV_IPC -#include -#include -#include - -/* - * The following is needed if compiling - * with gcc on SGI IRIX 6.5.x systems as - * the structure packing for system calls is - * different between IRIX cc and gcc. - */ - -#ifdef NEED_SGI_SEMUN_HACK -union semun_hack { - int val; - struct semid_ds *buf; - unsigned short *array; - char __dummy[5]; -}; -#define semun semun_hack -#endif /* NEED_SGI_SEMUN_HACK */ -#endif /* HAVE_SYSV_IPC */ - #ifdef HAVE_NET_IF_H #include #endif @@ -748,24 +711,10 @@ typedef struct smb_wpasswd { #define SIGCLD SIGCHLD #endif -#if (defined(HAVE_SYSV_IPC) || defined(HAVE_SHARED_MMAP)) -#define FAST_SHARE_MODES 1 -#endif - #ifndef MAP_FILE #define MAP_FILE 0 #endif -#ifdef HAVE_SYSV_IPC -#ifndef HAVE_UNION_SEMUN -union semun { - int val; - struct semid_ds *buf; - unsigned short *array; -}; -#endif -#endif - #if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP)) #define USE_SMBPASS_DB 1 #endif -- cgit