+ +
65338e2 fix(windows): add win32 compat headers and export audio and simd APIs
saifmukhtar · 2026-11-24
main
| 1 | /* |
| 2 | * SPDX-License-Identifier: AGPL-3.0-or-later WITH Classpath-exception-2.0 |
| 3 | * Copyright (c) 2026 Saif Mukhtar |
| 4 | * |
| 5 | * OpenAVX - Open Audio-Video eXchange |
| 6 | * include/compat/win32/sys/wait.h - MSVC emulation of sys/wait.h |
| 7 | */ |
| 8 | |
| 9 | #ifndef OPENAVX_COMPAT_WIN32_SYS_WAIT_H |
| 10 | #define OPENAVX_COMPAT_WIN32_SYS_WAIT_H |
| 11 | |
| 12 | #ifdef _WIN32 |
| 13 | #ifndef WIFEXITED |
| 14 | #define WIFEXITED(s) 1 |
| 15 | #endif |
| 16 | #ifndef WEXITSTATUS |
| 17 | #define WEXITSTATUS(s) (s) |
| 18 | #endif |
| 19 | #ifndef WTERMSIG |
| 20 | #define WTERMSIG(s) 0 |
| 21 | #endif |
| 22 | #ifndef WIFSIGNALED |
| 23 | #define WIFSIGNALED(s) 0 |
| 24 | #endif |
| 25 | #endif /* _WIN32 */ |
| 26 | |
| 27 | #endif /* OPENAVX_COMPAT_WIN32_SYS_WAIT_H */ |