mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
5.5 merge
This commit is contained in:
commit
3495801e2e
90 changed files with 2761 additions and 337 deletions
|
|
@ -663,9 +663,13 @@
|
|||
included first (or at least before <features.h> - so, practically,
|
||||
before including any system headers).
|
||||
|
||||
__GLIBC__ is defined in <features.h>
|
||||
Check the include order by looking at __GLIBC__ (defined in <features.h>)
|
||||
|
||||
But we cannot force all third-party clients/connectors to include
|
||||
my_config.h first. So, their crashes are their responsibility,
|
||||
we enable this check only for MariaDB sources (SAFE_MUTEX check).
|
||||
*/
|
||||
#ifdef __GLIBC__
|
||||
#if defined(__GLIBC__) && defined(SAFE_MUTEX)
|
||||
#error <my_config.h> MUST be included first!
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue