#define G_HAVE___INLINE 1
/* Have __inline__ keyword */
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__DMC__)
#define G_HAVE___INLINE__ 1
-#else /* _MSC_VER */
+#else /* _MSC_VER or __DMC__ */
/* #undef G_HAVE___INLINE__ */
-#endif /* _MSC_VER */
+#endif /* _MSC_VER or __DMC__ */
/* Source file containing theread implementation */
#define G_THREAD_SOURCE "gthread-win32.c"
/* Define to 1 if you have the `snprintf' function. */
#ifndef _MSC_VER
#define HAVE_SNPRINTF 1
+#ifdef __DMC__
+#define snprintf _snprintf
+#endif
#else /* _MSC_VER */
/* #undef HAVE_SNPRINTF */
#endif /* _MSC_VER */
/* #undef HAVE_STPCPY */
/* Define to 1 if you have the `strcasecmp' function. */
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__DMC__)
#define HAVE_STRCASECMP 1
-#else /* _MSC_VER */
+#else /* _MSC_VER or __DMC__ */
/* #undef HAVE_STRCASECMP */
-#endif /* _MSC_VER */
+#endif /* _MSC_VER or __DMC__ */
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__DMC__)
#define HAVE_STRINGS_H 1
-#else /* _MSC_VER */
+#else /* _MSC_VER or __DMC__ */
/* #undef HAVE_STRINGS_H */
-#endif /* _MSC_VER */
+#endif /* _MSC_VER or __DMC__ */
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* #undef HAVE_STRLCPY */
/* Define to 1 if you have the `strncasecmp' function. */
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__DMC__)
#define HAVE_STRNCASECMP 1
-#else /* _MSC_VER */
+#else /* _MSC_VER or __DMC__ */
/* #undef HAVE_STRNCASECMP */
-#endif /* _MSC_VER */
+#endif /* _MSC_VER or __DMC__ */
/* Define to 1 if you have the `strsignal' function. */
/* #undef HAVE_STRSIGNAL */
/* #undef HAVE_SYMLINK */
/* Define to 1 if you have the <sys/param.h> header file. */
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__DMC__)
#define HAVE_SYS_PARAM_H 1
-#else /* _MSC_VER */
+#else /* _MSC_VER or __DMC__ */
/* #undef HAVE_SYS_PARAM_H */
-#endif /* _MSC_VER */
+#endif /* _MSC_VER or __DMC__ */
/* Define to 1 if you have the <sys/poll.h> header file. */
/* #undef HAVE_SYS_POLL_H */
/* #undef HAVE_UNSETENV */
/* Define to 1 if you have the <values.h> header file. */
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__DMC__)
#define HAVE_VALUES_H 1
-#else /* _MSC_VER */
+#else /* _MSC_VER or __DMC__ */
/* #undef HAVE_VALUES_H */
-#endif /* _MSC_VER */
+#endif /* _MSC_VER or __DMC__ */
/* Define to 1 if you have the `vasprintf' function. */
#define HAVE_VASPRINTF 1
/* Define to 1 if you have the `vsnprintf' function. */
#ifndef _MSC_VER
#define HAVE_VSNPRINTF 1
+#ifdef __DMC__
+#define vsnprintf _vsnprintf
+#endif
#else /* _MSC_VER */
/* #undef HAVE_VSNPRINTF */
#endif /* _MSC_VER */
#define G_HAVE_INLINE 1
#endif /* _MSC_VER */
#define G_HAVE___INLINE 1
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__DMC__)
#define G_HAVE___INLINE__ 1
-#endif /* not _MSC_VER */
+#endif /* !_MSC_VER and !__DMC__ */
#endif /* !__cplusplus */
-#ifdef __cplusplus
+#if defined(__cplusplus) || !defined(_MSC_VER)
#define G_CAN_INLINE 1
-#else /* !__cplusplus */
-#ifndef _MSC_VER
-#define G_CAN_INLINE 1
-#endif
#endif
#ifndef _MSC_VER
-#ifndef __cplusplus
-# define G_HAVE_ISO_VARARGS 1
-#endif
-#ifdef __cplusplus
-# define G_HAVE_ISO_VARARGS 1
-#endif
+#define G_HAVE_ISO_VARARGS 1
/* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
* is passed ISO vararg support is turned off, and there is no work