dbghelp: Fix compile on Hurd.
This commit is contained in:
parent
7bfa513bc9
commit
95740b30b9
|
@ -5798,6 +5798,7 @@ for ac_header in \
|
|||
linux/types.h \
|
||||
linux/ucdrom.h \
|
||||
mach-o/nlist.h \
|
||||
mach-o/loader.h \
|
||||
mach/mach.h \
|
||||
mach/machine.h \
|
||||
machine/cpu.h \
|
||||
|
|
|
@ -418,6 +418,7 @@ AC_CHECK_HEADERS(\
|
|||
linux/types.h \
|
||||
linux/ucdrom.h \
|
||||
mach-o/nlist.h \
|
||||
mach-o/loader.h \
|
||||
mach/mach.h \
|
||||
mach/machine.h \
|
||||
machine/cpu.h \
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "dbghelp_private.h"
|
||||
|
||||
#ifdef __MACH__
|
||||
#ifdef HAVE_MACH_O_LOADER_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -1409,7 +1409,7 @@ struct module* macho_load_module(struct process* pcs, const WCHAR* name, unsign
|
|||
return ml.macho_info.module;
|
||||
}
|
||||
|
||||
#else /* !__MACH__ */
|
||||
#else /* HAVE_MACH_O_LOADER_H */
|
||||
|
||||
BOOL macho_synchronize_module_list(struct process* pcs)
|
||||
{
|
||||
|
@ -1441,4 +1441,4 @@ BOOL macho_load_debug_info(struct module* module, struct macho_file_map* fmap)
|
|||
{
|
||||
return FALSE;
|
||||
}
|
||||
#endif /* __MACH__ */
|
||||
#endif /* HAVE_MACH_O_LOADER_H */
|
||||
|
|
|
@ -466,6 +466,9 @@
|
|||
/* Define to 1 if you have the <mach-o/dyld_images.h> header file. */
|
||||
#undef HAVE_MACH_O_DYLD_IMAGES_H
|
||||
|
||||
/* Define to 1 if you have the <mach-o/loader.h> header file. */
|
||||
#undef HAVE_MACH_O_LOADER_H
|
||||
|
||||
/* Define to 1 if you have the <mach-o/nlist.h> header file. */
|
||||
#undef HAVE_MACH_O_NLIST_H
|
||||
|
||||
|
|
Loading…
Reference in New Issue