mirror of
https://github.com/postgres/postgres.git
synced 2025-06-04 00:02:37 -04:00
Bruce Hartzler <bruceh@mail.utexas.edu>. It contains shared library support, regression test map, and the usual template files. The dynamic loader is missing, the spin lock code apparently doesn't assemble due to syntax problems, and semaphores are to be hoped for from Apple.
37 lines
590 B
C
37 lines
590 B
C
/*
|
|
* This is a place holder until someone supplies a dynamic loader
|
|
* interface for this platform.
|
|
*
|
|
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/darwin.c,v 1.1 2000/10/31 19:55:19 petere Exp $
|
|
*/
|
|
|
|
#include "postgres.h"
|
|
#include "fmgr.h"
|
|
#include "utils/dynamic_loader.h"
|
|
#include "dynloader.h"
|
|
|
|
void *
|
|
pg_dlopen(char *filename)
|
|
{
|
|
return (void *) NULL;
|
|
}
|
|
|
|
PGFunction
|
|
pg_dlsym(void *handle, char *funcname)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
void
|
|
pg_dlclose(void *handle)
|
|
{
|
|
}
|
|
|
|
char *
|
|
pg_dlerror()
|
|
{
|
|
static char errmsg[] = "the dynamic loader for darwin doesn't exist yet";
|
|
|
|
return errmsg;
|
|
}
|