From 7085fcc8d66267429fc6734be4ff0c563b9ff50a Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 10 Jun 2015 22:15:11 -0700 Subject: Fix FreeBSD build --- Source/Core/VideoCommon/DriverDetails.cpp | 2 ++ Source/Core/VideoCommon/DriverDetails.h | 1 + 2 files changed, 3 insertions(+) (limited to 'Source/Core/VideoCommon') diff --git a/Source/Core/VideoCommon/DriverDetails.cpp b/Source/Core/VideoCommon/DriverDetails.cpp index aa2e34d184..d3b1883cb3 100644 --- a/Source/Core/VideoCommon/DriverDetails.cpp +++ b/Source/Core/VideoCommon/DriverDetails.cpp @@ -30,6 +30,8 @@ namespace DriverDetails const u32 m_os = OS_ALL | OS_OSX; #elif __linux__ const u32 m_os = OS_ALL | OS_LINUX; +#elif __FreeBSD__ + const u32 m_os = OS_ALL | OS_FREEBSD; #endif static Vendor m_vendor = VENDOR_UNKNOWN; diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h index 86fc2b04b6..cdc5026dc2 100644 --- a/Source/Core/VideoCommon/DriverDetails.h +++ b/Source/Core/VideoCommon/DriverDetails.h @@ -14,6 +14,7 @@ namespace DriverDetails OS_LINUX = (1 << 2), OS_OSX = (1 << 3), OS_ANDROID = (1 << 4), + OS_FREEBSD = (1 << 5), }; // Enum of known vendors // Tegra and Nvidia are separated out due to such substantial differences -- cgit v1.2.3