Harald Welte | 5df0be6 | 2019-04-17 20:54:29 +0200 | [diff] [blame] | 1 | #pragma once |
| 2 | /* whatever talloc 2.1.14 (from Debian talloc-2.1.14-2) required to build it |
| 3 | * with gcc-arm-none-eabi on a Debian unstable system */ |
| 4 | |
| 5 | #include <stdbool.h> |
| 6 | #include <string.h> |
| 7 | #include <errno.h> |
| 8 | #include <limits.h> |
| 9 | |
| 10 | #ifndef _PUBLIC_ |
| 11 | #define _PUBLIC_ __attribute__((visibility("default"))) |
| 12 | #endif |
| 13 | |
| 14 | #ifndef MIN |
| 15 | #define MIN(a,b) ((a)<(b)?(a):(b)) |
| 16 | #endif |
| 17 | |
| 18 | #ifndef MAX |
| 19 | #define MAX(a,b) ((a)>(b)?(a):(b)) |
| 20 | #endif |
| 21 | |
| 22 | #define TALLOC_BUILD_VERSION_MAJOR 2 |
| 23 | #define TALLOC_BUILD_VERSION_MINOR 1 |
| 24 | #define TALLOC_BUILD_VERSION_RELEASE 14 |
| 25 | |
| 26 | #define HAVE_VA_COPY |
| 27 | #define HAVE_CONSTRUCTOR_ATTRIBUTE |