From d06f504deb34bc49f7935f386508217270e1bcb7 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 1 Sep 2017 14:20:21 +1000 Subject: Only use lua-compat-5.3 if running < 5.3 --- src/openssl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/openssl.c') 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 @@ #include #include +#if LUA_VERSION_NUM < 503 #include "../vendor/compat53/c-api/compat-5.3.h" +#endif #define GNUC_2VER(M, m, p) (((M) * 10000) + ((m) * 100) + (p)) #define GNUC_PREREQ(M, m, p) (__GNUC__ > 0 && GNUC_2VER(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__) >= GNUC_2VER((M), (m), (p))) -- cgit v1.2.3-55-g6feb