diff options
Diffstat (limited to 'src/backend/port/dynloader/aix.c')
-rw-r--r-- | src/backend/port/dynloader/aix.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backend/port/dynloader/aix.c b/src/backend/port/dynloader/aix.c index c6295406e2..c1556bb1c2 100644 --- a/src/backend/port/dynloader/aix.c +++ b/src/backend/port/dynloader/aix.c @@ -14,6 +14,13 @@ #include "postgres.h" #include "dynloader.h" +#ifndef HAVE_DLOPEN + +/* + * AIX 4.3 and up has dlopen() and friends in -ldl. + * A la long, the homebrewn dl*() functions below should be obsolete. + */ + /* * We simulate dlopen() et al. through a call to load. Because AIX has * no call to find an exported symbol we read the loader section of the @@ -601,3 +608,5 @@ findMain(void) free(buf); return ret; } + +#endif /* HAVE_DLOPEN */ |