aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorCismonX <admin@cismon.net>2025-08-19 08:05:45 +0800
committerBernd Schubert <bernd@bsbernd.com>2025-08-19 20:07:15 +0200
commitd9e500c1acae30d809ade8197f015b8437305e65 (patch)
treed1947da6527e7d04a57af30255d92ca7d669bbec /meson.build
parentaf48907c0b534f7f81f639f546bfcea6bc8e99b1 (diff)
downloadlibfuse-d9e500c1acae30d809ade8197f015b8437305e65.tar.gz
tests: move struct size assertions into a test
These checks are meant for libfuse maintainers only, and should not be exposed to users. Signed-off-by: CismonX <admin@cismon.net> (cherry picked from commit a63fc71a55038f49671eb56d0ade99a48ad8d7ab)
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 0 insertions, 6 deletions
diff --git a/meson.build b/meson.build
index 4e7c0a1..12a881e 100644
--- a/meson.build
+++ b/meson.build
@@ -59,7 +59,6 @@ include_default = '''
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <assert.h> /* For static_assert */
#include <pthread.h> /* For pthread_setname_np */
'''
args_default = [ '-D_GNU_SOURCE' ]
@@ -82,11 +81,6 @@ endforeach
# Special case checks that need custom code
special_funcs = {
- 'static_assert': '''
- #include <assert.h>
- static_assert(1, "test");
- int main(void) { return 0; }
- ''',
'pthread_setname_np': '''
#include <pthread.h>
int main(void) {