We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7908507 commit f043e67Copy full SHA for f043e67
lib/Runtime/PlatformAgnostic/Platform/CMakeLists.txt
@@ -34,6 +34,10 @@ elseif(CC_TARGET_OS_OSX)
34
Unix/SystemInfo.cpp
35
# Linux/PerfTrace.cpp # TODO : implement for OSX?
36
)
37
+elseif(CC_TARGET_OS_FREEBSD)
38
+ set(PL_SOURCE_FILES ${PL_SOURCE_FILES}
39
+ Unix/SystemInfo.cpp
40
+ )
41
endif()
42
43
add_library (Chakra.Runtime.PlatformAgnostic OBJECT
lib/Runtime/PlatformAgnostic/Platform/Unix/SystemInfo.cpp
@@ -5,7 +5,7 @@
5
6
#include "Common.h"
7
#include "ChakraPlatform.h"
8
-#include <sys/sysctl.h>
+#include <sys/resource.h>
9
10
namespace PlatformAgnostic
11
{
0 commit comments