diff options
Diffstat (limited to 'src/libstddjb/iopause.c')
-rw-r--r-- | src/libstddjb/iopause.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/libstddjb/iopause.c b/src/libstddjb/iopause.c new file mode 100644 index 0000000..38e3b54 --- /dev/null +++ b/src/libstddjb/iopause.c @@ -0,0 +1,24 @@ +/* ISC license. */ + +#include <skalibs/sysdeps.h> +#include <skalibs/iopause.h> + +#ifdef SKALIBS_HASPPOLL + +iopause_func_t_ref const iopause_ = &iopause_ppoll ; + +#else + +#include <skalibs/config.h> + +#ifdef SKALIBS_FLAG_PREFERSELECT + +iopause_func_t_ref const iopause_ = &iopause_select ; + +#else + +iopause_func_t_ref const iopause_ = &iopause_poll ; + +#endif + +#endif |