Fix build in Visual Studio (2013)

Tested with Visual Studio 2013.
This commit is contained in:
chosenofbear 2015-06-17 09:12:19 -04:00
parent 6380a93cec
commit c375d27daa
22 changed files with 58 additions and 10 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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