summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--byterun/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/unix.c b/byterun/unix.c
index c0c345e26..f84e20357 100644
--- a/byterun/unix.c
+++ b/byterun/unix.c
@@ -176,7 +176,7 @@ void caml_dlclose(void * handle)
void * caml_dlsym(void * handle, char * name)
{
-#if DL_NEEDS_UNDERSCORE
+#ifdef DL_NEEDS_UNDERSCORE
char _name[1000] = "_";
strncat (_name, name, 998);
name = _name;