Changeset View
Changeset View
Standalone View
Standalone View
source/lib/posix/posix_aio.h
Show All 29 Lines | |||||
#if OS_WIN | #if OS_WIN | ||||
# include "lib/sysdep/os/win/wposix/waio.h" | # include "lib/sysdep/os/win/wposix/waio.h" | ||||
#elif OS_ANDROID || OS_OPENBSD | #elif OS_ANDROID || OS_OPENBSD | ||||
// Android doesn't provide aio.h. We don't actually use aio on Linuxes (see | // Android doesn't provide aio.h. We don't actually use aio on Linuxes (see | ||||
// CONFIG2_FILE_ENABLE_AIO) but we use its symbols and structs, so define | // CONFIG2_FILE_ENABLE_AIO) but we use its symbols and structs, so define | ||||
// them here | // them here | ||||
# if OS_OPENBSD | # if OS_OPENBSD | ||||
#include <sys/types.h> // For pthread_attr_t. | |||||
// OpenBSD 5.1 (latest version at time of writing) has no struct sigevent defined, | // OpenBSD 5.1 (latest version at time of writing) has no struct sigevent defined, | ||||
// so we do this here. | // so we do this here. | ||||
struct sigevent | struct sigevent | ||||
{ | { | ||||
int sigev_notify; | int sigev_notify; | ||||
int sigev_signo; | int sigev_signo; | ||||
union sigval sigev_value; | union sigval sigev_value; | ||||
void (*sigev_notify_function)(union sigval); | void (*sigev_notify_function)(union sigval); | ||||
Show All 23 Lines |
Wildfire Games · Phabricator