8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Better place for common macro (NOEXCEPT) as Alex suggested

This commit is contained in:
hvlad 2016-12-01 23:13:26 +02:00
parent 21bdac86dc
commit 8e6799f8b9
2 changed files with 7 additions and 8 deletions

View File

@ -608,6 +608,13 @@ extern "C" int remove(const char* path);
#define FB_EXPORTED
#endif
#ifdef HAS_NOEXCEPT
#define NOEXCEPT noexcept
#define NOEXCEPT_ARG(X) noexcept((X))
#else
#define NOEXCEPT
#define NOEXCEPT_ARG(X)
#endif
/* alignment macros */

View File

@ -213,14 +213,6 @@
#endif
#endif
#ifdef HAS_NOEXCEPT
#define NOEXCEPT noexcept
#define NOEXCEPT_ARG(X) noexcept((X))
#else
#define NOEXCEPT
#define NOEXCEPT_ARG(X)
#endif
/* Types */
#undef HAVE_SOCKLEN_T
#undef HAVE_INFINITY