From 84051eb54834ff805fee1c2e0f573d4433a254c2 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Thu, 24 Oct 2024 15:26:16 -0600 Subject: use #if __unix__ --- cmd/srv9p/static9p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/srv9p/static9p.c b/cmd/srv9p/static9p.c index 47c07be..a5b4492 100644 --- a/cmd/srv9p/static9p.c +++ b/cmd/srv9p/static9p.c @@ -168,7 +168,7 @@ struct lib9p_srv_file_vtable static_dir_vtable = { static inline size_t static_file_size(struct static_file *file) { assert(file); -#if __x86_64__ +#if __unix__ assert(file->data_start); #endif if (!file->data_end) -- cgit v1.2.3-2-g168b