X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fcpp2%2Fauto-host_vc_in.h;h=4e3ddad98426f0f0da055f5f46ab886e9de24421;hb=7ccadede777153289e2bb71b36f9ab5b2e8eabff;hp=a31badedfb8ad7785e840cbf8f26aa39f9ab74f1;hpb=1f8b2ca3c2bd5645e0a8891bf74707582a76ca50;p=fw%2Fsdcc diff --git a/support/cpp2/auto-host_vc_in.h b/support/cpp2/auto-host_vc_in.h index a31baded..4e3ddad9 100644 --- a/support/cpp2/auto-host_vc_in.h +++ b/support/cpp2/auto-host_vc_in.h @@ -23,9 +23,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/ #include #include #include +#include #define HAVE_STRINGIZE -#define STDC_HEADERS +#define STDC_HEADERS 1 #define PACKAGE "sdcc" #define LOCALEDIR "" #define PREFIX "" @@ -42,6 +43,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/ #define __STDC__ 1 #define ssize_t int + +#ifdef _MSC_VER /*So, which ones are the standard types? */ #define ino_t _ino_t #define dev_t _dev_t @@ -70,5 +73,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/ #pragma warning( disable : 4244 ) #pragma warning( disable : 4090 ) #pragma warning( disable : 4022 ) +#endif _MSC_VER #endif /*CPP2_VC_H_*/