diff options
author | H. Peter Anvin <hpa@zytor.com> | 2016-02-08 10:12:37 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2016-02-08 10:12:37 -0800 |
commit | 0c11e123b261686f12daf1cea5e7f36d41f4f3de (patch) | |
tree | 4741883c73ed0185f977b0511975e6c77f55b483 | |
parent | 50fe0b5904bce8b00eeb4f6ec7a9ac080e1a823c (diff) | |
download | nasm-0c11e123b261686f12daf1cea5e7f36d41f4f3de.tar.gz |
nasmlib.h: Add #undef for ZERO_BUF_SIZE
If we are redefining ZERO_BUF_SIZE, add an #undef to avoid nuisance
compiler warnings.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | nasmlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -410,6 +410,7 @@ const char *prefix_name(int); #define ZERO_BUF_SIZE 4096 /* Default value */ #if defined(BUFSIZ) && (BUFSIZ > ZERO_BUF_SIZE) +# undef ZERO_BUF_SIZE # define ZERO_BUF_SIZE BUFSIZ #endif extern const uint8_t zero_buffer[ZERO_BUF_SIZE]; |