Browse Source

Only include for macos. Resolves #232.

Brucey 3 năm trước cách đây
mục cha
commit
5186300524
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      platform.mod/glue.c

+ 2 - 0
platform.mod/glue.c

@@ -21,7 +21,9 @@
     distribution.
 */
 #include <unistd.h>
+#ifdef __APPLE__
 #include <sys/sysctl.h>
+#endif
 
 int bmx_os_getproccount() {
 	int procCount = 0;