* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / support / cpp / auto-host_vc_in.h
index 4e3ddad98426f0f0da055f5f46ab886e9de24421..185f3ef0ba7fdab346b4c755308cc395d7c3b853 100644 (file)
@@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/
 
-#ifndef CPP2_VC_H_
-#define CPP2_VC_H_
+#ifndef CPP_VC_H_
+#define CPP_VC_H_
 
 #include <sys/stat.h>
 #include <io.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 /*CPP2_VC_H_*/
+#endif  /*CPP_VC_H_*/