From e4e71f333cb12ec061ff7470e5611c2efcdde229 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 24 Jan 2013 07:32:15 +0100 Subject: [PATCH] Get rid of redefine warning. --- file_extract.c | 1 + gfx/rpng/rpng.c | 1 + 2 files changed, 2 insertions(+) diff --git a/file_extract.c b/file_extract.c index f1bd673749..e823f83518 100644 --- a/file_extract.c +++ b/file_extract.c @@ -29,6 +29,7 @@ // Modified from nall::unzip (higan). +#undef GOTO_END_ERROR #define GOTO_END_ERROR() do { \ RARCH_ERR("ZIP extraction failed at line: %d.\n", __LINE__); \ ret = false; \ diff --git a/gfx/rpng/rpng.c b/gfx/rpng/rpng.c index 7fa1e2fa9f..4040eb3531 100644 --- a/gfx/rpng/rpng.c +++ b/gfx/rpng/rpng.c @@ -31,6 +31,7 @@ // // Missing: Adam7 interlace, 16 bpp, various color formats. +#undef GOTO_END_ERROR #define GOTO_END_ERROR() do { \ fprintf(stderr, "[RPNG]: Error in line %d.\n", __LINE__); \ ret = false; \