Some compile fixes for when dlopen is not available.

It seems the ps3 gameos build env is... not what we've come to take for
granted.
This commit is contained in:
Bill Currie 2012-08-17 09:18:00 +09:00
parent af0db29981
commit 41876e8c37

View file

@ -119,7 +119,7 @@ static void *
pi_open_lib (const char *name, int global_syms)
{
void *dlhand;
#ifndef _WIN32
#ifdef HAVE_DLOPEN
# ifdef __OpenBSD__
int flags = RTLD_LAZY;
# else
@ -154,7 +154,7 @@ pi_realname (char *realname, int size, const char *type, const char *name)
#elif defined(_WIN32)
const char *format = "%s/%s_%s.dll";
#else
# error "No shared library support. FIXME"
const char *format = "No shared library support. FIXME";
#endif
snprintf (realname, size, format, fs_pluginpath->string, type, name);