diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1998-02-14 19:56:21 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1998-02-14 19:56:21 +0000 |
| commit | 527f8babc726340e6ccf0ca0f26cd190e17f4ad9 (patch) | |
| tree | cac2cd13c7454f15a3a0732c59141c9a6af03886 /src/backend/port/dynloader/dgux.h | |
| parent | d1891c6fb33e6cd1f6d0de945df3b70432a184a3 (diff) | |
| download | postgresql-527f8babc726340e6ccf0ca0f26cd190e17f4ad9.tar.gz | |
From: Brian E Gallew <geek+@cmu.edu>
dgux 5.4R4.11
Missing port-protos.h (not needed, I think). Wants dld.h. Should
really use the system dl stuff (like i386_solaris). Needs to include
<netinet/in.h> before <arpa/inet.h>. Here are some patches...
Diffstat (limited to 'src/backend/port/dynloader/dgux.h')
| -rw-r--r-- | src/backend/port/dynloader/dgux.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/backend/port/dynloader/dgux.h b/src/backend/port/dynloader/dgux.h index 89705cac27..c7b5a53d48 100644 --- a/src/backend/port/dynloader/dgux.h +++ b/src/backend/port/dynloader/dgux.h @@ -1,30 +1,31 @@ /*------------------------------------------------------------------------- * - * port-protos.h-- - * port-specific prototypes for SunOS 4 - * - * + * dgux.h-- + * * Copyright (c) 1994, Regents of the University of California * - * $Id: dgux.h,v 1.1 1997/12/20 04:48:04 scrappy Exp $ + * $Id: dgux.h,v 1.2 1998/02/14 19:56:21 scrappy Exp $ * *------------------------------------------------------------------------- */ #ifndef PORT_PROTOS_H #define PORT_PROTOS_H +#include <dlfcn.h> #include "fmgr.h" /* for func_ptr */ #include "utils/dynamic_loader.h" -#include "dlfcn.h" -/* dynloader.c */ - -/* #define pg_dlopen(f) dlopen(f, 1) */ -#define pg_dlopen(f) dlopen(f, 2) +/* + * Dynamic Loader on DG/UX. + * + * this dynamic loader uses the system dynamic loading interface for shared + * libraries (ie. dlopen/dlsym/dlclose). The user must specify a shared + * library as the file to be dynamically loaded. + * + */ +#define pg_dlopen(f) dlopen(f,1) #define pg_dlsym dlsym #define pg_dlclose dlclose #define pg_dlerror dlerror -/* port.c */ - #endif /* PORT_PROTOS_H */ |
