1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 11:46:37 +00:00

Changed use of compile #defines which start with a _ character to not do this since defined symbols starting with _ are reserved to local compiler/runtime implementations in the C language. This addresses issue #32

This commit is contained in:
Mark Pizzolato
2013-03-12 11:07:58 -07:00
parent fb105a922f
commit d5ca542102
58 changed files with 136 additions and 136 deletions

View File

@@ -3039,9 +3039,9 @@ uuid_gen (void *uuidaddr)
void (*uuid_generate_c) (void *) = NULL;
void *handle;
#define __STR_QUOTE(tok) #tok
#define __STR(tok) __STR_QUOTE(tok)
handle = dlopen("libuuid." __STR(HAVE_DLOPEN), RTLD_NOW|RTLD_GLOBAL);
#define S__STR_QUOTE(tok) #tok
#define S__STR(tok) S__STR_QUOTE(tok)
handle = dlopen("libuuid." S__STR(HAVE_DLOPEN), RTLD_NOW|RTLD_GLOBAL);
if (handle)
uuid_generate_c = (void (*)(void *))((size_t)dlsym(handle, "uuid_generate"));
if (uuid_generate_c)