From: borutr Date: Sun, 18 Jan 2009 14:23:26 +0000 (+0000) Subject: * support/cpp/auto-host.h: fixed warning: "__STDC__" redefined, X-Git-Url: https://git.gag.com/?p=fw%2Fsdcc;a=commitdiff_plain;h=7b561330739c816ef8cbf170c2d2599268b9c461 * support/cpp/auto-host.h: fixed warning: "__STDC__" redefined, warning: extra tokens at end of #endif directive git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5340 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 0dd18e41..b166b3d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-18 Borut Razem + + * support/cpp/auto-host.h: fixed warning: "__STDC__" redefined, + warning: extra tokens at end of #endif directive + 2009-01-11 Borut Razem * Makefile.in: added SDCC_ASRANLIB to PKGS diff --git a/support/cpp/auto-host_vc_in.h b/support/cpp/auto-host_vc_in.h index f5992958..185f3ef0 100644 --- a/support/cpp/auto-host_vc_in.h +++ b/support/cpp/auto-host_vc_in.h @@ -40,7 +40,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/ #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_LIMITS_H 1 +#ifndef __STDC__ #define __STDC__ 1 +#endif #define ssize_t int @@ -73,6 +75,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 /* _MSC_VER */ -#endif /*CPP_VC_H_*/ +#endif /*CPP_VC_H_*/