summaryrefslogtreecommitdiff
path: root/games/colobot/files/patch-src_common_system_system.cpp
blob: fda36181d4261fb56ed135a6a37e6ba0b17f5b5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/common/system/system.cpp.orig	2024-12-23 20:22:56 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"
@@ -44,7 +44,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>();