windows-amd64-prebuilt-libr.../vcpkg/ports/irrlicht/fix-sysctl.patch
2020-10-10 14:36:42 +02:00

13 lines
276 B
Diff

--- a/source/Irrlicht/COSOperator.cpp
+++ b/source/Irrlicht/COSOperator.cpp
@@ -11,8 +11,8 @@
#else
#include <string.h>
#include <unistd.h>
-#ifndef _IRR_SOLARIS_PLATFORM_
#include <sys/types.h>
+#ifdef _IRR_OSX_PLATFORM_
#include <sys/sysctl.h>
#endif
#endif