diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-02-01 07:46:43 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-02-01 07:46:43 +0000 |
commit | 9fd18a67853b0fbf26ba8dac3097a0dd25657582 (patch) | |
tree | d882cacd0086057be967879237ab8f81d9c2c656 /src/backend/port/dynloader/univel.h | |
parent | 6e9558e6397001c63ac5aa454e38c3199ff0f28a (diff) | |
download | postgresql-9fd18a67853b0fbf26ba8dac3097a0dd25657582.tar.gz postgresql-9fd18a67853b0fbf26ba8dac3097a0dd25657582.zip |
Missed adding new univel files and removing univel subdirectory
Diffstat (limited to 'src/backend/port/dynloader/univel.h')
-rw-r--r-- | src/backend/port/dynloader/univel.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/backend/port/dynloader/univel.h b/src/backend/port/dynloader/univel.h new file mode 100644 index 00000000000..56b9961930d --- /dev/null +++ b/src/backend/port/dynloader/univel.h @@ -0,0 +1,34 @@ +/*-------------------------------------------------------------------------
+ *
+ * port-protos.h--
+ * port-specific prototypes for Intel x86/UNIXWARE
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * port-protos.h,v 1.2 1995/03/17 06:40:18 andrew Exp
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef PORT_PROTOS_H
+#define PORT_PROTOS_H
+
+#include <dlfcn.h>
+#include "fmgr.h" /* for func_ptr */
+#include "utils/dynamic_loader.h"
+
+/* dynloader.c */
+/*
+ * Dynamic Loader on Intel x86/Intel SVR4.
+ *
+ * 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,RTLD_LAZY)
+#define pg_dlsym dlsym
+#define pg_dlclose dlclose
+#define pg_dlerror dlerror
+
+#endif /* PORT_PROTOS_H */
|