summaryrefslogtreecommitdiff
path: root/include/libHX/defs.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2024-02-26 09:59:10 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-02-26 09:59:10 +0100
commit92ac2277ef889d82e56efd57a342959d8b3399d8 (patch)
tree8fec731deb3b43e93521e6433752163a2726e9b5 /include/libHX/defs.h
parent461d481e1a84e8e5232b471331e02ea9d63b2a2a (diff)
parent2acbac8ef9d314b73fbbd68c2e70580988c063a9 (diff)
Update upstream source from tag 'upstream/4.23'
Update to upstream version '4.23' with Debian dir be13fa3ac3ad7e7d4942f166bc070b5e33af6313
Diffstat (limited to 'include/libHX/defs.h')
-rw-r--r--include/libHX/defs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/libHX/defs.h b/include/libHX/defs.h
index 31c818f..ba84b37 100644
--- a/include/libHX/defs.h
+++ b/include/libHX/defs.h
@@ -38,12 +38,6 @@
#ifndef ARRAY_SIZE
# define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)) + __array_size_check(x))
#endif
-#ifndef BUILD_BUG_ON_EXPR
-# define BUILD_BUG_ON_EXPR(condition) (sizeof(char[1 - 2 * !!(condition)]) - 1)
-#endif
-#ifndef BUILD_BUG_ON
-# define BUILD_BUG_ON(condition) ((void)BUILD_BUG_ON_EXPR(condition))
-#endif
#ifndef DEMOTE_TO_PTR
/*
* An alternative approach is also (p+0), but that does not ensure that