Ver Fonte

Fix a potential compile error

Eric Andersen há 23 anos atrás
pai
commit
056eef45e0
2 ficheiros alterados com 4 adições e 0 exclusões
  1. 2 0
      ldso/libdl/dlib.c
  2. 2 0
      ldso/libdl/libdl.c

+ 2 - 0
ldso/libdl/dlib.c

@@ -72,6 +72,8 @@ static char *_dl_debug_detail  = 0;
 static char *_dl_debug_nofixups  = 0;
 static char *_dl_debug_bindings  = 0;
 static int   _dl_debug_file = 2;
+#elif defined __SUPPORT_LD_DEBUG_EARLY__
+#define _dl_debug_file 2
 #endif
 char *_dl_library_path = 0;
 char *_dl_ldsopath = 0;

+ 2 - 0
ldso/libdl/libdl.c

@@ -72,6 +72,8 @@ static char *_dl_debug_detail  = 0;
 static char *_dl_debug_nofixups  = 0;
 static char *_dl_debug_bindings  = 0;
 static int   _dl_debug_file = 2;
+#elif defined __SUPPORT_LD_DEBUG_EARLY__
+#define _dl_debug_file 2
 #endif
 char *_dl_library_path = 0;
 char *_dl_ldsopath = 0;