FFmpegSource2: more portability

Originally committed to SVN as r2359.
This commit is contained in:
Fredrik Mellbin 2008-09-14 20:14:59 +00:00
parent 791df9275d
commit 27bdad5355
2 changed files with 8 additions and 1 deletions

View File

@ -41,6 +41,8 @@
* system
*/
#include <stdint.h>
#ifdef MPDLLBUILD
#define X __declspec(dllexport)
#else

View File

@ -21,7 +21,12 @@
#include "utils.h"
#include <string.h>
#include <errno.h>
#ifdef _MSC_VER
# include <intrin.h>
#else
# include <xmmintrin.h>
#endif
int GetCPUFlags() {
int CPUInfo[4];