diff --git a/src/conf.h b/src/conf.h index 49a36c89..1e42c628 100644 --- a/src/conf.h +++ b/src/conf.h @@ -230,9 +230,10 @@ typedef size_t upx_rsize_t; #endif // avoid warnings about shadowing global functions -#undef index /* BSD legacy; removed by POSIX.1-2008 */ -#define index upx_index /* prefer strchr() instead of index() */ -#define outp upx_outp /* removed by VS2015; instead: _outp */ +#undef index +#define basename upx_basename +#define index upx_index +#define outp upx_outp #undef PAGE_MASK #undef PAGE_SIZE