diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-17 06:11:08 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-17 06:11:08 +0000 |
commit | d99bec71701d611b0d8ee44d92cb8ed28162af56 (patch) | |
tree | 31f6790460e8f7ec210ec6a12962dfeab54ecc70 /source3/include/includes.h | |
parent | 98825661ddb4dd5cfa603291a69b5c4d3d98e791 (diff) | |
download | samba-d99bec71701d611b0d8ee44d92cb8ed28162af56.tar.gz samba-d99bec71701d611b0d8ee44d92cb8ed28162af56.tar.bz2 samba-d99bec71701d611b0d8ee44d92cb8ed28162af56.zip |
got rid of some more old configure tests and includes
(This used to be commit f137648504362479143d50477fa38ebf7147968b)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 51 |
1 files changed, 0 insertions, 51 deletions
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 <sys/types.h> #ifdef TIME_WITH_SYS_TIME @@ -264,29 +250,6 @@ #include <sys/mman.h> #endif -#ifdef HAVE_SYSV_IPC -#include <sys/ipc.h> -#include <sys/shm.h> -#include <sys/sem.h> - -/* - * 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 <net/if.h> #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 |