From 9b0c01e9bf1c9ae971ce931bfb9d73f800388fd2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 6 Sep 2014 20:20:35 +0000 Subject: (svn r26781) -Codechange [Squirrel]: remove includes/definitions that are already in stdafx.h --- src/3rdparty/squirrel/include/squirrel.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/3rdparty/squirrel/include') diff --git a/src/3rdparty/squirrel/include/squirrel.h b/src/3rdparty/squirrel/include/squirrel.h index c598b9dc7..b71de1473 100644 --- a/src/3rdparty/squirrel/include/squirrel.h +++ b/src/3rdparty/squirrel/include/squirrel.h @@ -31,20 +31,6 @@ to the following restrictions: #ifndef _SQUIRREL_H_ #define _SQUIRREL_H_ -#if defined(_MSC_VER) -# define inline __forceinline -#endif /* _MSC_VER */ - -#if defined(_MSC_VER) && _MSC_VER >= 1400 // MSVC 2005 safety checks -# pragma warning(disable: 4996) // '_wfopen' was declared deprecated -# define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions -# define _CRT_NON_CONFORMING_SWPRINTFS // another deprecated stuff -#endif /* _MSC_VER >= 1400 */ - -#if defined(__GNUC__) - #define __int64 long long -#endif - typedef __int64 SQInteger; typedef unsigned __int64 SQUnsignedInteger; typedef unsigned __int64 SQHash; /*should be the same size of a pointer*/ @@ -84,12 +70,6 @@ struct SQDelegable; typedef char SQChar; #define MAX_CHAR 0xFFFF -#if defined(_MSC_VER) || defined(__MINGW32__) - #define SQ_PRINTF64 "%I64d" -#else - #define SQ_PRINTF64 "%lld" -#endif - #define SQUIRREL_VERSION "Squirrel 2.2.5 stable - With custom OpenTTD modifications" #define SQUIRREL_COPYRIGHT "Copyright (C) 2003-2010 Alberto Demichelis" #define SQUIRREL_AUTHOR "Alberto Demichelis" -- cgit v1.2.3-70-g09d2