mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 07:49:16 -04:00
20 lines
827 B
C++
20 lines
827 B
C++
--- src/common/system/system.cpp.orig 2021-08-21 20:57:34 UTC
|
|
+++ src/common/system/system.cpp
|
|
@@ -24,7 +24,7 @@
|
|
|
|
#if defined(PLATFORM_WINDOWS)
|
|
#include "common/system/system_windows.h"
|
|
-#elif defined(PLATFORM_LINUX)
|
|
+#elif defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD)
|
|
#include "common/system/system_linux.h"
|
|
#elif defined(PLATFORM_MACOSX)
|
|
#include "common/system/system_macosx.h"
|
|
@@ -43,7 +43,7 @@ std::unique_ptr<CSystemUtils> CSystemUtils::Create()
|
|
std::unique_ptr<CSystemUtils> instance;
|
|
#if defined(PLATFORM_WINDOWS)
|
|
instance = MakeUnique<CSystemUtilsWindows>();
|
|
-#elif defined(PLATFORM_LINUX)
|
|
+#elif defined(PLATFORM_LINUX) || defined(PLATFORM_FREEBSD)
|
|
instance = MakeUnique<CSystemUtilsLinux>();
|
|
#elif defined(PLATFORM_MACOSX)
|
|
instance = MakeUnique<CSystemUtilsMacOSX>();
|