mirror of https://github.com/odrling/Aegisub
FFmpegSource2: more portability
Originally committed to SVN as r2359.
This commit is contained in:
parent
791df9275d
commit
27bdad5355
|
@ -41,6 +41,8 @@
|
|||
* system
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef MPDLLBUILD
|
||||
#define X __declspec(dllexport)
|
||||
#else
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue