mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 08:49:47 +00:00
* fix vc2015 compilation (use libretro-common's handling of missing msvc roundf)
This commit is contained in:
parent
fba722d450
commit
57a7a4eb7f
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,3 +7,5 @@
|
|||||||
/msvc/Debug
|
/msvc/Debug
|
||||||
/msvc/*.suo
|
/msvc/*.suo
|
||||||
/msvc/*.user
|
/msvc/*.user
|
||||||
|
/msvc/x64
|
||||||
|
/msvc/.vs/msvc-2010/v14/*.suo
|
||||||
|
@ -33,7 +33,6 @@ typedef uint64_t uint64;
|
|||||||
#define MDFN_NOWARN_UNUSED __attribute__((unused))
|
#define MDFN_NOWARN_UNUSED __attribute__((unused))
|
||||||
|
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
#define roundf(in) (in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f))
|
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
#define NO_INLINE
|
#define NO_INLINE
|
||||||
#define MDFN_LIKELY(n) ((n) != 0)
|
#define MDFN_LIKELY(n) ((n) != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user