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 16:21:24 +0200
commita63fc71a55038f49671eb56d0ade99a48ad8d7ab (patch)
treefdfda549997183bcc9b8cddd90b30bdeffe0d230 /meson.build
parent42b9b3bbb71d38be6a5670bbd0948cf406c1573c (diff)
downloadlibfuse-a63fc71a55038f49671eb56d0ade99a48ad8d7ab.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>
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 f98ef8a..07c7295 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) {