yuzu/externals/libressl/include/compat/sys/ioctl.h
2020-12-28 15:15:37 +00:00

12 lines
199 B
C
Executable File

/*
* Public domain
* sys/ioctl.h compatibility shim
*/
#ifndef _WIN32
#include_next <sys/ioctl.h>
#else
#include <win32netcompat.h>
#define ioctl(fd, type, arg) ioctlsocket(fd, type, arg)
#endif