mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
Use a guard macro to prevent the inclusion of system headers
when checking the ABI with the C Preprocessor. Also, add the new hearders to the cmake based ABI check.
This commit is contained in:
@@ -23,8 +23,10 @@
|
||||
*/
|
||||
#define MYSQL_CLIENT_PLUGIN_INCLUDED
|
||||
|
||||
#ifndef MYSQL_ABI_CHECK
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
/* known plugin types */
|
||||
#define MYSQL_CLIENT_reserved1 0
|
||||
|
Reference in New Issue
Block a user