From 09f8eaa625729f4893e222dbea2ab3aa9700e556 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Fri, 3 Jun 2005 01:45:34 +0000 Subject: [PATCH] Let MSVC know that's it's MSVC. --- zsnes/src/parsegen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsnes/src/parsegen.cpp b/zsnes/src/parsegen.cpp index c6f621b5..d88cee6b 100644 --- a/zsnes/src/parsegen.cpp +++ b/zsnes/src/parsegen.cpp @@ -38,7 +38,7 @@ using namespace std; #define SLASH_STR "/" #endif -#ifdef MSC_VER +#ifndef __GNUC__ //MSVC typedef ssize_t int; #endif @@ -252,7 +252,7 @@ ssize_t enhanced_atoi(const char *str) << "}\n\n"; out_stream.close(); -#ifdef MSC_VER +#ifndef __GNUC__ //MSVC system("cl /Foeatio.exe eatio.c"); #else system("gcc -o eatio.exe eatio.c -s");