Skip to content

Commit

Permalink
elf-module: Fix build without LZMA support
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Dec 14, 2024
1 parent 8ed32c4 commit 7bb8909
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gum/gumelfmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2451,6 +2451,7 @@ static GBytes *
gum_decompress_xz (gconstpointer data,
gsize size)
{
#ifdef HAVE_LZMA
gpointer out_data;
gsize out_capacity;
size_t in_pos, out_pos;
Expand Down Expand Up @@ -2481,6 +2482,9 @@ gum_decompress_xz (gconstpointer data,
return NULL;
}
}
#else
return NULL;
#endif
}

static gboolean
Expand Down

0 comments on commit 7bb8909

Please sign in to comment.