Author: janderwald
Date: Thu Oct 11 00:53:47 2007
New Revision: 29480
URL:
http://svn.reactos.org/svn/reactos?rev=29480&view=rev
Log:
- add __MINGW_NOTHROW macro (required for shell32 sync used in dirent.h)
Modified:
trunk/reactos/include/crt/_mingw.h
Modified: trunk/reactos/include/crt/_mingw.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/_mingw.h?rev=2…
==============================================================================
--- trunk/reactos/include/crt/_mingw.h (original)
+++ trunk/reactos/include/crt/_mingw.h Thu Oct 11 00:53:47 2007
@@ -164,6 +164,12 @@
#define __MINGW_ATTRIB_DEPRECATED
#endif /* GNUC >= 3.1 */
+#if __MINGW_GNUC_PREREQ (3, 3)
+#define __MINGW_NOTHROW __attribute__ ((__nothrow__))
+#else
+#define __MINGW_NOTHROW
+#endif /* GNUC >= 3.3 */
+
#ifndef __MSVCRT_VERSION__
/* High byte is the major version, low byte is the minor. */
# define __MSVCRT_VERSION__ 0x0600