Guard _CRT_INLINE by __CRT__NO_INLINE
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1044 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/ChangeLog b/mingw-w64-headers/include/ChangeLog
index 9f78e25..b4b87c0 100644
--- a/mingw-w64-headers/include/ChangeLog
+++ b/mingw-w64-headers/include/ChangeLog
@@ -3,6 +3,7 @@
* math.h (__cplusplust): Replace for inlines the __cplusplus guard
by __CRT__NO_INLINE guard.
* complex.h (_CRT_INLINE): Guard inlines by __CRT__NO_INLINE.
+ * assert.h (_CRT_INLINE): Likewise.
2009-07-27 Ozkan Sezer <sezeroz@gmail.com>
diff --git a/mingw-w64-headers/include/assert.h b/mingw-w64-headers/include/assert.h
index c1678a3..f634a1a 100644
--- a/mingw-w64-headers/include/assert.h
+++ b/mingw-w64-headers/include/assert.h
@@ -21,7 +21,8 @@
#define _CRT_TERMINATE_DEFINED
void __cdecl __MINGW_NOTHROW exit(int _Code) __MINGW_ATTRIB_NORETURN;
_CRTIMP void __cdecl __MINGW_NOTHROW _exit(int _Code) __MINGW_ATTRIB_NORETURN;
-#if !defined __NO_ISOCEXT /* extern stub in static libmingwex.a */
+#if !defined __NO_ISOCEXT && !defined __CRT__NO_INLINE
+/* extern stub in static libmingwex.a */
/* C99 function name */
void __cdecl _Exit(int) __MINGW_ATTRIB_NORETURN;
__CRT_INLINE __MINGW_ATTRIB_NORETURN void __cdecl _Exit(int status)