summaryrefslogtreecommitdiff
path: root/src/openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openssl.c')
-rw-r--r--src/openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c
index cb4bd48..80d3dfe 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -75,7 +75,9 @@
75#include <lualib.h> 75#include <lualib.h>
76#include <lauxlib.h> 76#include <lauxlib.h>
77 77
78#if LUA_VERSION_NUM < 503
78#include "../vendor/compat53/c-api/compat-5.3.h" 79#include "../vendor/compat53/c-api/compat-5.3.h"
80#endif
79 81
80#define GNUC_2VER(M, m, p) (((M) * 10000) + ((m) * 100) + (p)) 82#define GNUC_2VER(M, m, p) (((M) * 10000) + ((m) * 100) + (p))
81#define GNUC_PREREQ(M, m, p) (__GNUC__ > 0 && GNUC_2VER(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__) >= GNUC_2VER((M), (m), (p))) 83#define GNUC_PREREQ(M, m, p) (__GNUC__ > 0 && GNUC_2VER(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__) >= GNUC_2VER((M), (m), (p)))