diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-10-09 10:30:11 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-10-09 10:30:11 +0200 |
commit | 1b75bed00fa4ea3925f513f4825deb00cb158d5b (patch) | |
tree | 0822ed2a2ca42ba1acb82a6737336bbfe219bebe /config.h.cmake | |
parent | 689ffe3559a4b7bacd13503ba93659b2f4560bbb (diff) | |
parent | b2d71434ed24d0901155fe68b0b7ee4fdad0e2d4 (diff) | |
download | mariadb-git-1b75bed00fa4ea3925f513f4825deb00cb158d5b.tar.gz |
5.5.40+ merge
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index 8faf887730a..86ebf43ef24 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -656,4 +656,17 @@ #define __STDC_FORMAT_MACROS #endif +/* + stat structure (from <sys/stat.h>) is conditionally defined + to have different layout and size depending on the defined macros. + The correct macro is defined in my_config.h, which means it MUST be + included first (or at least before <features.h> - so, practically, + before including any system headers). + + __GLIBC__ is defined in <features.h> +*/ +#ifdef __GLIBC__ +#error <my_config.h> MUST be included first! +#endif + #endif |