]> git.refcnt.org Git - colorize.git/blobdiff - colorize.c
Check if BUF_SIZE is defined
[colorize.git] / colorize.c
index c7fa2bb7dcf1d6029177f08eaa271ca71b0f4a8b..2cd137a5e65b18452f55115d554974ae285c9c58 100644 (file)
@@ -60,7 +60,7 @@
 
 #define free_null(ptr) free_wrap((void **)&ptr)
 
-#if BUF_SIZE <= 0 || BUF_SIZE > 65536
+#if defined(BUF_SIZE) && (BUF_SIZE <= 0 || BUF_SIZE > 65536)
 # undef BUF_SIZE
 #endif
 #ifndef BUF_SIZE