diff options
author | June McEnroe <june@causal.agency> | 2020-07-09 16:29:44 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-09 16:31:00 -0400 |
commit | 1e01eaf9031fd7d28dc77e35122e3976c02239a2 (patch) | |
tree | 7ffeedcdd4e24641c7bcd1041809a1ddf8c6c5f3 | |
parent | Refactor HTML generation somewhat (diff) | |
download | scooper-1e01eaf9031fd7d28dc77e35122e3976c02239a2.tar.gz scooper-1e01eaf9031fd7d28dc77e35122e3976c02239a2.zip |
Add compatibility for kcgi <0.12
Diffstat (limited to '')
-rw-r--r-- | scooper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scooper.c b/scooper.c index 99e7a05..17c0ebc 100644 --- a/scooper.c +++ b/scooper.c @@ -28,6 +28,10 @@ #include <kcgihtml.h> #include <sqlite3.h> +#if KCGI_VMAJOR == 0 && KCGI_VMINOR < 12 +#define khttp_urlpart(...) kutil_urlpart(req, __VA_ARGS__) +#endif + #define SQL(...) #__VA_ARGS__ enum { DatabaseVersion = 4 }; |