Skip to content
Snippets Groups Projects
Commit 75e78abe authored by rtoy's avatar rtoy
Browse files

Oops. Forgot a few places to set up c_symbol_name for non-Unicode

builds.
parent 4de992e8
No related branches found
No related tags found
No related merge requests found
/* /*
$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/os-common.c,v 1.28 2009/06/11 16:04:01 rtoy Exp $ $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/os-common.c,v 1.29 2009/07/16 12:55:02 rtoy Exp $
This code was written as part of the CMU Common Lisp project at This code was written as part of the CMU Common Lisp project at
Carnegie Mellon University, and has been placed in the public domain. Carnegie Mellon University, and has been placed in the public domain.
...@@ -259,6 +259,8 @@ os_resolve_data_linkage(void) ...@@ -259,6 +259,8 @@ os_resolve_data_linkage(void)
char c_symbol_name[1000]; char c_symbol_name[1000];
convert_lisp_string(c_symbol_name, symbol_name->data, (symbol_name->length >> 2)); convert_lisp_string(c_symbol_name, symbol_name->data, (symbol_name->length >> 2));
#else
#define c_symbol_name ((char*) symbol_name->data)
#endif #endif
if (type == 2 && lib_list != NIL) { if (type == 2 && lib_list != NIL) {
void *target_addr = os_dlsym(c_symbol_name, lib_list); void *target_addr = os_dlsym(c_symbol_name, lib_list);
...@@ -306,6 +308,8 @@ os_link_one_symbol(long entry) ...@@ -306,6 +308,8 @@ os_link_one_symbol(long entry)
#ifdef UNICODE #ifdef UNICODE
convert_lisp_string(c_symbol_name, symbol_name->data, (symbol_name->length >> 2)); convert_lisp_string(c_symbol_name, symbol_name->data, (symbol_name->length >> 2));
#else
#define c_symbol_name ((char*) symbol_name->data)
#endif #endif
target_addr = os_dlsym(c_symbol_name, target_addr = os_dlsym(c_symbol_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment