bug in the Mingw32 assert.h header file.
+2001-01-30 Andrew Innes <andrewi@gnu.org>
+
+ * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
+ bug in the Mingw32 assert.h header file.
+
2001-01-30 Francesco Potorti` <pot@gnu.org>
* etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
#include <sys/types.h>
#include <sys/stat.h>
+/* Work around bug in Mingw assert.h. */
+#if defined (__MINGW32__) && defined(NDEBUG) && defined (assert)
+#undef assert
+#define assert(x) ((void) 0)
+#endif
+
#if !defined (S_ISREG) && defined (S_IFREG)
# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif