commit e4011069bfbaa17e7efd802b25c0ab384f7a2593
parent eee4e645398a319920c77b4740beb9af391bc092
Author: Kyle Milz <krwmilz@gmail.com>
Date: Sun, 29 Aug 2021 01:53:55 +0000
Remove C11 features for now.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/xdvi.h b/xdvi.h
@@ -38,7 +38,6 @@ NOTE:
#include "config.h"
-#include <assert.h>
#include <stddef.h>
#include <stdlib.h>
@@ -124,9 +123,8 @@ typedef Boolean wide_bool;
#define spell_conv(n) spell_conv0(n, dimconv)
#define BMUNIT unsigned int
-#define BMBYTES 4 /* sizeof(BMUNIT) */
+#define BMBYTES 4 /* sizeof(unsigned BMUNIT) */
#define BMBITS (8 * BMBYTES)
-static_assert(sizeof(BMUNIT) == BMBYTES, "BMUNIT does not match BMBYTES");
#define ADD(a, b) ((BMUNIT *) (((char *) a) + b))
#define SUB(a, b) ((BMUNIT *) (((char *) a) - b))