diff options
-rw-r--r-- | lib/stsound/StSoundLibrary/XBMCYM.cpp | 2 | ||||
-rw-r--r-- | lib/stsound/StSoundLibrary/YmTypes.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/stsound/StSoundLibrary/XBMCYM.cpp b/lib/stsound/StSoundLibrary/XBMCYM.cpp index a85acf85c6..7fb1239eaf 100644 --- a/lib/stsound/StSoundLibrary/XBMCYM.cpp +++ b/lib/stsound/StSoundLibrary/XBMCYM.cpp @@ -25,7 +25,7 @@ #include <stdio.h> #include <stdint.h> -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) #define __declspec(x) #endif diff --git a/lib/stsound/StSoundLibrary/YmTypes.h b/lib/stsound/StSoundLibrary/YmTypes.h index 90b89831d9..37b4fa8c37 100644 --- a/lib/stsound/StSoundLibrary/YmTypes.h +++ b/lib/stsound/StSoundLibrary/YmTypes.h @@ -39,12 +39,12 @@ // Platform specific stuff //----------------------------------------------------------- -#if defined(_WIN32) || defined(__linux__) +#if defined(_WIN32) || defined(__linux__) || defined(__FreeBSD__) // These settings are ok for Windows 32bits platform. #ifdef YM_INTEGER_ONLY -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) #include <inttypes.h> typedef int64_t yms64; #else |