[ros-diffs] [janderwald] 29480: - add __MINGW_NOTHROW macro (required for shell32 sync used in dirent.h)

janderwald at svn.reactos.org janderwald at svn.reactos.org
Wed Oct 10 22:53:47 CEST 2007


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=29480&r1=29479&r2=29480&view=diff
==============================================================================
--- 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




More information about the Ros-diffs mailing list