Commit 6b1bc0be authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

dbghelp: Get rid of no longer needed HAVE_ZLIB checks.

parent ca092dcf
...@@ -3363,7 +3363,6 @@ static void dwarf2_location_compute(struct process* pcs, ...@@ -3363,7 +3363,6 @@ static void dwarf2_location_compute(struct process* pcs,
} }
} }
#ifdef HAVE_ZLIB
static void *zalloc(void *priv, uInt items, uInt sz) static void *zalloc(void *priv, uInt items, uInt sz)
{ {
return HeapAlloc(GetProcessHeap(), 0, items * sz); return HeapAlloc(GetProcessHeap(), 0, items * sz);
...@@ -3445,8 +3444,6 @@ out: ...@@ -3445,8 +3444,6 @@ out:
return ret; return ret;
} }
#endif
static inline BOOL dwarf2_init_section(dwarf2_section_t* section, struct image_file_map* fmap, static inline BOOL dwarf2_init_section(dwarf2_section_t* section, struct image_file_map* fmap,
const char* sectname, const char* zsectname, const char* sectname, const char* zsectname,
struct image_section_map* ism) struct image_section_map* ism)
...@@ -3470,11 +3467,7 @@ static inline BOOL dwarf2_init_section(dwarf2_section_t* section, struct image_f ...@@ -3470,11 +3467,7 @@ static inline BOOL dwarf2_init_section(dwarf2_section_t* section, struct image_f
if (zsectname && image_find_section(fmap, zsectname, ism)) if (zsectname && image_find_section(fmap, zsectname, ism))
{ {
#ifdef HAVE_ZLIB
return dwarf2_init_zsection(section, zsectname, ism); return dwarf2_init_zsection(section, zsectname, ism);
#else
FIXME("dbghelp not built with zlib, but compressed section found\n" );
#endif
} }
return FALSE; return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment