From c927d2e1104f2930dfa9b7d867a71b9c2dad83be Mon Sep 17 00:00:00 2001 From: Klemen Vodopivec Date: Sat, 8 Jan 2022 09:56:18 -0500 Subject: [PATCH] Fix building against base 3.15.x There was a bug that enabled INT64 support on 3.15 instead of 3.16+. Fixed #13 --- src/pycalcRecord.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pycalcRecord.cpp b/src/pycalcRecord.cpp index 5b56b3f..bf51a37 100644 --- a/src/pycalcRecord.cpp +++ b/src/pycalcRecord.cpp @@ -37,9 +37,9 @@ # if EPICS_VERSION_INT < VERSION_INT(3,16,0,2) # define dbLinkIsConstant(lnk) ((lnk)->type == CONSTANT) # define RECSUPFUN_CAST (RECSUPFUN) -# define HAVE_EPICS_INT64 # else # define RECSUPFUN_CAST +# define HAVE_EPICS_INT64 # endif #else # define dbLinkIsConstant(lnk) ((lnk)->type == CONSTANT)