summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-01-05 03:01:38 +0000
committerBruce Momjian <bruce@momjian.us>2006-01-05 03:01:38 +0000
commit44f90212236bfb6fc1279e95dc8fa315104d964e (patch)
tree2f63a7547c3d27de26003be69d60d48fb03d855f /src/include
parent6f84b2da75d3c5d4d401c94f92c9ac184a6faf5a (diff)
downloadpostgresql-44f90212236bfb6fc1279e95dc8fa315104d964e.tar.gz
Remove BEOS port.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/c.h8
-rw-r--r--src/include/pg_config.h.in3
-rw-r--r--src/include/pg_config_manual.h7
-rw-r--r--src/include/port/beos.h82
4 files changed, 4 insertions, 96 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 1bf160f161..797f2f8438 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/c.h,v 1.193 2005/12/25 02:14:18 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.194 2006/01/05 03:01:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -170,11 +170,6 @@
* built-in definition of bool.
*/
-/* BeOS defines bool already, but the compiler chokes on the
- * #ifndef unless we wrap it in this check.
- */
-#ifndef __BEOS__
-
#ifndef __cplusplus
#ifndef bool
@@ -189,7 +184,6 @@ typedef char bool;
#define false ((bool) 0)
#endif
#endif /* not C++ */
-#endif /* __BEOS__ */
typedef bool *BoolPtr;
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index b1daceeecf..27b14ca2ea 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -200,9 +200,6 @@
/* Define to 1 if you have the <langinfo.h> header file. */
#undef HAVE_LANGINFO_H
-/* Define to 1 if you have the `bind' library (-lbind). */
-#undef HAVE_LIBBIND
-
/* Define to 1 if you have the `BSD' library (-lBSD). */
#undef HAVE_LIBBSD
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
index 138251df43..a5170b5f22 100644
--- a/src/include/pg_config_manual.h
+++ b/src/include/pg_config_manual.h
@@ -6,7 +6,7 @@
* for developers. If you edit any of these, be sure to do a *full*
* rebuild (and an initdb if noted).
*
- * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.19 2006/01/05 01:56:29 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.20 2006/01/05 03:01:37 momjian Exp $
*------------------------------------------------------------------------
*/
@@ -155,15 +155,14 @@
/*
* Disable UNIX sockets for those operating system.
*/
-#if defined(__BEOS__) || defined(WIN32)
+#if defined(WIN32)
#undef HAVE_UNIX_SOCKETS
#endif
/*
* Define this if your operating system supports link()
*/
-#if !defined(__BEOS__) && \
- !defined(WIN32) && !defined(__CYGWIN__)
+#if !defined(WIN32) && !defined(__CYGWIN__)
#define HAVE_WORKING_LINK 1
#endif
diff --git a/src/include/port/beos.h b/src/include/port/beos.h
deleted file mode 100644
index 9c71f80f56..0000000000
--- a/src/include/port/beos.h
+++ /dev/null
@@ -1,82 +0,0 @@
-#include <kernel/OS.h>
-#include <kernel/image.h>
-#include <sys/ioctl.h>
-
-#define AF_UNIX 10 /* no domain sockets on BeOS */
-
-/* Beos doesn't have all the required getrusage fields */
-#undef HAVE_GETRUSAGE
-
-/* SYS V emulation */
-
-#undef HAVE_UNION_SEMUN
-#define HAVE_UNION_SEMUN 1
-
-#define IPC_RMID 256
-#define IPC_CREAT 512
-#define IPC_EXCL 1024
-#define IPC_PRIVATE 234564
-#define IPC_NOWAIT 2048
-#define IPC_STAT 4096
-
-#define EACCESS 2048
-#define EIDRM 4096
-
-#define SETALL 8192
-#define GETNCNT 16384
-#define GETVAL 65536
-#define SETVAL 131072
-#define GETPID 262144
-
-union semun
-{
- int val;
- struct semid_ds *buf;
- unsigned short *array;
-};
-
-struct sembuf
-{
- int sem_flg;
- int sem_op;
- int sem_num;
-};
-
-struct shmid_ds
-{
- int dummy;
- int shm_nattch;
-};
-
-int semctl(int semId, int semNum, int flag, union semun);
-int semget(int semKey, int semNum, int flags);
-int semop(int semId, struct sembuf * sops, int flag);
-
-int shmdt(char *shmaddr);
-int *shmat(int memId, int m1, int m2);
-int shmctl(int shmid, int flag, struct shmid_ds * dummy);
-int shmget(int memKey, int size, int flag);
-
-
-/* Support functions */
-
-/* Specific beos action made on postgres/postmaster startup */
-void beos_startup(int argc, char **argv);
-
-/* Load a shared library */
-image_id beos_dl_open(char *filename);
-
-/* Find symbol */
-void beos_dl_sym(image_id im, char *symname, void **fptr);
-
-/* UnLoad a shared library */
-status_t beos_dl_close(image_id im);
-
-/* Specific beos action made on backend startup */
-void beos_before_backend_startup(void);
-
-/* Specific beos action made on backend startup */
-void beos_backend_startup(void);
-
-/* Specific beos action made on backend startup failure*/
-void beos_backend_startup_failed(void);