Fix build in Visual Studio (2013)
Tested with Visual Studio 2013.
This commit is contained in:
		
							parent
							
								
									6380a93cec
								
							
						
					
					
						commit
						c375d27daa
					
				
					 22 changed files with 58 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -20,11 +20,11 @@
 | 
			
		|||
*/
 | 
			
		||||
 | 
			
		||||
#include "binding.h"
 | 
			
		||||
#include "binding-util.h"
 | 
			
		||||
#include "util.h"
 | 
			
		||||
#include "binding-util.h"  //fatal error C1189 if this is before "util.h"
 | 
			
		||||
#include "sharedstate.h"
 | 
			
		||||
#include "eventthread.h"
 | 
			
		||||
#include "filesystem.h"
 | 
			
		||||
#include "util.h"
 | 
			
		||||
#include "sdl-util.h"
 | 
			
		||||
#include "debugwriter.h"
 | 
			
		||||
#include "graphics.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,11 +19,11 @@
 | 
			
		|||
** along with mkxp.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#include "binding-util.h"
 | 
			
		||||
#include "util.h"
 | 
			
		||||
#include "binding-util.h" //fatal error C1189 if this is before "util.h"
 | 
			
		||||
 | 
			
		||||
#include "sharedstate.h"
 | 
			
		||||
#include "exception.h"
 | 
			
		||||
#include "util.h"
 | 
			
		||||
 | 
			
		||||
#include <stdarg.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,6 +19,10 @@
 | 
			
		|||
** along with mkxp.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
#define _CRT_SECURE_NO_DEPRECATE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "etc.h"
 | 
			
		||||
#include "binding-util.h"
 | 
			
		||||
#include "serializable-binding.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,11 +19,10 @@
 | 
			
		|||
** along with mkxp.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#include "binding-util.h"
 | 
			
		||||
 | 
			
		||||
#include "util.h"
 | 
			
		||||
#include "binding-util.h" //fatal error C1189 if this is before "util.h"
 | 
			
		||||
#include "sharedstate.h"
 | 
			
		||||
#include "filesystem.h"
 | 
			
		||||
#include "util.h"
 | 
			
		||||
 | 
			
		||||
#include "ruby/encoding.h"
 | 
			
		||||
#include "ruby/intern.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,6 +19,10 @@
 | 
			
		|||
** along with mkxp.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
#define _CRT_SECURE_NO_DEPRECATE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "font.h"
 | 
			
		||||
#include "binding-util.h"
 | 
			
		||||
#include "binding-types.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,6 +19,10 @@
 | 
			
		|||
** along with mkxp.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
#define _CRT_SECURE_NO_DEPRECATE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "input.h"
 | 
			
		||||
#include "sharedstate.h"
 | 
			
		||||
#include "exception.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,6 +19,10 @@
 | 
			
		|||
** along with mkxp.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
#define NOMINMAX
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <algorithm>
 | 
			
		||||
#include "table.h"
 | 
			
		||||
#include "binding-util.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue