From: <sv...@op...> - 2024-10-21 07:08:59
|
Author: manx Date: Mon Oct 21 09:08:48 2024 New Revision: 21903 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21903 Log: Merged revision(s) 21902 from trunk/OpenMPT: [Fix] Vorbis: r21890 broken non-MSVC SSE2 builds. ........ Modified: branches/OpenMPT-1.31/ (props changed) branches/OpenMPT-1.31/include/vorbis/lib/os.h Modified: branches/OpenMPT-1.31/include/vorbis/lib/os.h ============================================================================== --- branches/OpenMPT-1.31/include/vorbis/lib/os.h Mon Oct 21 09:08:28 2024 (r21902) +++ branches/OpenMPT-1.31/include/vorbis/lib/os.h Mon Oct 21 09:08:48 2024 (r21903) @@ -151,7 +151,9 @@ typedef ogg_int16_t vorbis_fpu_control; +#if defined(_MSC_VER) /* OpenMPT */ #include <intrin.h> /* OpenMPT */ +#endif /* OpenMPT */ #include <emmintrin.h> static __inline int vorbis_ftoi(double f){ return _mm_cvtsd_si32(_mm_load_sd(&f)); |