mirror of
https://github.com/yawut/SDL.git
synced 2026-09-09 01:26:24 -05:00
SDL_windows.h is no longer necessary
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
|
||||
#if defined(__WIN32__) && !defined(_WIN32_WCE)
|
||||
|
||||
#include "SDL_windows.h"
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
/* Note this isn't thread-safe! */
|
||||
|
||||
|
||||
@@ -485,7 +485,8 @@ DEFAULT_MMAP_THRESHOLD default: 256K
|
||||
#endif /* _WIN32 */
|
||||
#endif /* WIN32 */
|
||||
#ifdef WIN32
|
||||
#include "SDL_windows.h"
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#define HAVE_MMAP 1
|
||||
#define HAVE_MORECORE 0
|
||||
#define LACKS_UNISTD_H
|
||||
|
||||
@@ -30,6 +30,14 @@
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
#ifndef __FLTUSED__
|
||||
#define __FLTUSED__
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
__declspec(selectany) int _fltused=1;
|
||||
#endif
|
||||
|
||||
/* Float to long */
|
||||
void __declspec(naked) _ftol()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user