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:
parent
21bdac86dc
commit
8e6799f8b9
@ -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 */
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user