mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Move warning disable to msvc_compat.h.
This commit is contained in:
parent
6e1cec5090
commit
59e7bc82db
@ -23,6 +23,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include "../msvc/msvc_compat.h"
|
||||||
|
|
||||||
#ifndef RESAMPLER_TEST
|
#ifndef RESAMPLER_TEST
|
||||||
#include "../general.h"
|
#include "../general.h"
|
||||||
@ -30,10 +31,6 @@
|
|||||||
#define RARCH_LOG(...) fprintf(stderr, __VA_ARGS__)
|
#define RARCH_LOG(...) fprintf(stderr, __VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _XBOX1
|
|
||||||
#pragma warning(disable : 4723)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __SSE__
|
#ifdef __SSE__
|
||||||
#include <xmmintrin.h>
|
#include <xmmintrin.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -42,6 +42,7 @@ typedef int ssize_t;
|
|||||||
#pragma warning(disable : 4305)
|
#pragma warning(disable : 4305)
|
||||||
#pragma warning(disable : 4146)
|
#pragma warning(disable : 4146)
|
||||||
#pragma warning(disable : 4267)
|
#pragma warning(disable : 4267)
|
||||||
|
#pragma warning(disable : 4723)
|
||||||
|
|
||||||
#define roundf(in) (in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f))
|
#define roundf(in) (in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user