File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 663
663
#define __STDC_FORMAT_MACROS
664
664
#endif
665
665
666
- /*
667
- stat structure (from <sys/stat.h> ) is conditionally defined
668
- to have different layout and size depending on the defined macros .
669
- The correct macro is defined in my_config.h, which means it MUST be
670
- included first (or at least before <features.h> - so, practically,
671
- before including any system headers ).
672
-
673
- Check the include order by looking at __GLIBC__ (defined in <features.h> )
674
-
675
- But we cannot force all third-party clients/connectors to include
676
- my_config.h first. So, their crashes are their responsibility,
677
- we enable this check only for MariaDB sources (SAFE_MUTEX check ).
678
- */
679
- #if defined(__GLIBC__) && defined(SAFE_MUTEX)
680
- #error <my_config.h> MUST be included first!
681
- #endif
682
-
683
666
#endif
You can’t perform that action at this time.
0 commit comments