SDL_windows.h is no longer necessary

This commit is contained in:
Sam Lantinga
2006-02-25 22:18:25 +00:00
parent bf2d3bdc27
commit 2861771aa5
27 changed files with 59 additions and 68 deletions

View File

@@ -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! */

View File

@@ -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

View File

@@ -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()
{