#if defined( __MINGW32__ )
# define bcopy(from, to, n) memcpy(to, from, n)
# define FG_MEM_COPY(to,from,n) memcpy(to, from, n)
+# define snprintf _snprintf
#endif
/* KAI C++ */
# define STL_STRING <string>
# define STL_STRSTREAM <strstream>
-# define SG_NO_INCLASS_MEMBER_INITIALIZATION
-
-// disable min/max macros if defined:
-// # ifdef min
-// # undef min
-// # endif
-// # ifdef max
-// # undef max
-// # endif
-// # ifndef NOMINMAX
-// # define NOMINMAX
-// # endif
+# define snprintf _snprintf
# pragma warning(disable: 4786) // identifier was truncated to '255' characters
# pragma warning(disable: 4244) // conversion from double to float
//
// Intel C++ Compiler
//
-#if defined(__ICC)
+#if defined(__ICC) || defined (__ECC)
# define SG_NAMESPACES
# define SG_HAVE_STD
# define SG_HAVE_STREAMBUF
#endif // SG_INCOMPLETE_FUNCTIONAL
-/**
- * SG_STATIC_CONSTANT workaround.
- * On compilers which don't allow in-class initialization of static integral
- * constant members, we must use enums as a workaround if we want the constants
- * to be available at compile-time. This macro gives us a convenient way to
- * declare such constants.
- */
-#ifdef SG_NO_INCLASS_MEMBER_INITIALIZATION
-# define SG_STATIC_CONST(type,assignment) enum { assignment }
-#else
-# define SG_STATIC_CONST(type,assignment) static const type assignment
-#endif
-
#endif // _SG_COMPILER_H