mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
move alloca() definition from all *.h files to one new header file
This commit is contained in:
@@ -24,22 +24,19 @@
|
||||
*provider* (encryption plugin).
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef MYSQL_ABI_CHECK
|
||||
#include <my_alloca.h>
|
||||
#ifdef _WIN32
|
||||
#include <malloc.h>
|
||||
#ifndef __cplusplus
|
||||
#define inline __inline
|
||||
#endif
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* returned from encryption_key_get_latest_version() */
|
||||
|
Reference in New Issue
Block a user