Let MSVC know that's it's MSVC.

This commit is contained in:
n-a-c-h
2005-06-03 01:45:34 +00:00
parent ef61f9c577
commit 09f8eaa625

View File

@@ -38,7 +38,7 @@ using namespace std;
#define SLASH_STR "/" #define SLASH_STR "/"
#endif #endif
#ifdef MSC_VER #ifndef __GNUC__ //MSVC
typedef ssize_t int; typedef ssize_t int;
#endif #endif
@@ -252,7 +252,7 @@ ssize_t enhanced_atoi(const char *str)
<< "}\n\n"; << "}\n\n";
out_stream.close(); out_stream.close();
#ifdef MSC_VER #ifndef __GNUC__ //MSVC
system("cl /Foeatio.exe eatio.c"); system("cl /Foeatio.exe eatio.c");
#else #else
system("gcc -o eatio.exe eatio.c -s"); system("gcc -o eatio.exe eatio.c -s");