aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/aix/port-protos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/aix/port-protos.h')
-rw-r--r--src/backend/port/aix/port-protos.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/backend/port/aix/port-protos.h b/src/backend/port/aix/port-protos.h
new file mode 100644
index 00000000000..986e5bd7d48
--- /dev/null
+++ b/src/backend/port/aix/port-protos.h
@@ -0,0 +1,25 @@
+/*-------------------------------------------------------------------------
+ *
+ * port-protos.h--
+ * port-specific prototypes for AIX
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: port-protos.h,v 1.1.1.1 1996/07/09 06:21:41 scrappy Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef PORT_PROTOS_H
+#define PORT_PROTOS_H
+
+#include "dlfcn.h" /* this is from jum's libdl package */
+
+/* dynloader.c */
+
+#define pg_dlopen(f) dlopen(filename, RTLD_LAZY)
+#define pg_dlsym(h,f) dlsym(h, f)
+#define pg_dlclose(h) dlclose(h)
+#define pg_dlerror() dlerror()
+
+#endif /* PORT_PROTOS_H */