Преглед на файлове

dlfcn.h exists only if __HAVE_SHARED__ ("we are built with shared lib support"),
not when !__HAVE_NO_SHARED__ ("arch can theoretically support shred libs")

Denis Vlasenko преди 16 години
родител
ревизия
0b0a9a449d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      include/link.h

+ 1 - 1
include/link.h

@@ -23,7 +23,7 @@
 
 #include <features.h>
 #include <elf.h>
-#ifndef __HAVE_NO_SHARED__
+#ifdef __HAVE_SHARED__
 #include <dlfcn.h>
 #endif
 #include <sys/types.h>