diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-24 15:26:16 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-24 15:28:39 -0600 |
commit | 84051eb54834ff805fee1c2e0f573d4433a254c2 (patch) | |
tree | 8a87efb37b03086fc8c247517c05becc5c6e1922 /cmd/srv9p/static9p.c | |
parent | 39a8ac10ccefcce4e47c3dd5493a6ebe7b0e8f9a (diff) |
use #if __unix__
Diffstat (limited to 'cmd/srv9p/static9p.c')
-rw-r--r-- | cmd/srv9p/static9p.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |