Per patch from vodz, change a couple of consts to defines, since
[oweals/busybox.git] / coreutils / tr.c
index 07922af175fb19c2b2a33506eb18176a189942b2..a5d068262bb636488e1ed6adf7ffb70a1bc3ef3f 100644 (file)
@@ -31,7 +31,9 @@
 #include <sys/types.h>
 #include "busybox.h"
 
-static const int ASCII = 0377;
+/* This must be a #define, since when DODEBUG and BUFFERS_GO_IN_BSS are
+ * enabled, we otherwise get a "storage size isn't constant error. */
+#define ASCII 0377
 
 /* some "globals" shared across this file */
 static char com_fl, del_fl, sq_fl;