mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Cleanup legacy symbols: basename, index
modified: conf.h https://github.com/upx/upx/issues/257
This commit is contained in:
parent
8aadbcd786
commit
47ddace96a
|
@ -230,10 +230,9 @@ typedef size_t upx_rsize_t;
|
|||
#endif
|
||||
|
||||
// avoid warnings about shadowing global functions
|
||||
#undef index
|
||||
#define basename upx_basename
|
||||
#define index upx_index
|
||||
#define outp upx_outp
|
||||
#undef index /* <strings.h> 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 PAGE_MASK
|
||||
#undef PAGE_SIZE
|
||||
|
|
Loading…
Reference in New Issue
Block a user