mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Redefine cpu's as __cpu__. Only for 6.6 branch.
This commit is contained in:
@@ -61,7 +61,7 @@ BSD44_derived_dlerror(void)
|
||||
void *
|
||||
BSD44_derived_dlopen(const char *file, int num)
|
||||
{
|
||||
#if defined(__mips__) || (defined(__NetBSD__) && defined(vax))
|
||||
#if defined(__mips__) || (defined(__NetBSD__) && defined(__vax__))
|
||||
sprintf(error_message, "dlopen (%s) not supported", file);
|
||||
return NULL;
|
||||
#else
|
||||
@@ -76,7 +76,7 @@ BSD44_derived_dlopen(const char *file, int num)
|
||||
void *
|
||||
BSD44_derived_dlsym(void *handle, const char *name)
|
||||
{
|
||||
#if defined(__mips__) || (defined(__NetBSD__) && defined(vax))
|
||||
#if defined(__mips__) || (defined(__NetBSD__) && defined(__vax__))
|
||||
sprintf(error_message, "dlsym (%s) failed", name);
|
||||
return NULL;
|
||||
#else
|
||||
@@ -99,7 +99,7 @@ BSD44_derived_dlsym(void *handle, const char *name)
|
||||
void
|
||||
BSD44_derived_dlclose(void *handle)
|
||||
{
|
||||
#if defined(__mips__) || (defined(__NetBSD__) && defined(vax))
|
||||
#if defined(__mips__) || (defined(__NetBSD__) && defined(__vax__))
|
||||
#else
|
||||
dlclose(handle);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user