diff src/video/win32/SDL_win32events.c @ 4880:27c458e4ae31

Update VS2010 project to add new files; update new files so code builds on Win32/Win64
author Andreas Schiffler <aschiffler@ferzkopp.net>
date Mon, 23 Aug 2010 23:44:28 -0700
parents 7b1d35d98294
children
line wrap: on
line diff
--- a/src/video/win32/SDL_win32events.c	Sun Aug 22 17:19:10 2010 -0700
+++ b/src/video/win32/SDL_win32events.c	Mon Aug 23 23:44:28 2010 -0700
@@ -25,6 +25,10 @@
 #define _WIN32_WINNT 0x601
 #endif
 
+// disable deprecation of fopen()
+#define _CRT_SECURE_NO_WARNINGS
+#define _CRT_SECURE_NO_DEPRECATE 
+
 #include "SDL_config.h"
 
 #include "SDL_win32video.h"
@@ -33,8 +37,6 @@
 #include "SDL_vkeys.h"
 #include "../../events/SDL_events_c.h"
 
-
-
 #define WMMSG_DEBUG
 #ifdef WMMSG_DEBUG
 #include <stdio.h>