Some constification was added in the Tcl APIs, so add the modifiers in
PL/Tcl as well.
#define CONST84
#endif
+/* ... and for Tcl 8.6. */
+#ifndef CONST86
+#define CONST86
+#endif
+
#include "access/htup_details.h"
#include "access/xact.h"
#include "catalog/pg_proc.h"
}
static void
-pltcl_SetTimer(Tcl_Time *timePtr)
+pltcl_SetTimer(CONST86 Tcl_Time *timePtr)
{
}
}
static int
-pltcl_WaitForEvent(Tcl_Time *timePtr)
+pltcl_WaitForEvent(CONST86 Tcl_Time *timePtr)
{
return 0;
}