diff options
| author | Jeffrey Pfau <jeffrey@endrift.com> | 2015-06-10 22:15:11 -0700 |
|---|---|---|
| committer | Jeffrey Pfau <jeffrey@endrift.com> | 2015-06-13 21:52:47 -0700 |
| commit | 7085fcc8d66267429fc6734be4ff0c563b9ff50a (patch) | |
| tree | bff7cd87fe9b9e1f156154b9057dfba057a875f1 /Source/Core/VideoCommon | |
| parent | 0ca955a14c9a23a12deabb62502a4d2703f9c47b (diff) | |
Fix FreeBSD build
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/DriverDetails.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/DriverDetails.h | 1 |
2 files changed, 3 insertions, 0 deletions
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 |
