fix compilation - clic - Clic is an command line interactive client for gopher … | |
git clone git://bitreich.org/clic/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit b85e60f64e3237b419930169d7fcbee5a0a3c2d7 | |
parent a387aad5e141816a78258799fc9ec691b74fd726 | |
Author: Solene Rapenne <[email protected]> | |
Date: Fri, 22 Jun 2018 10:29:32 +0200 | |
fix compilation | |
Diffstat: | |
M clic.lisp | 14 ++++++++------ | |
1 file changed, 8 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/clic.lisp b/clic.lisp | |
@@ -27,12 +27,14 @@ | |
unsigned int getTerminalHeight() { | |
struct winsize w; | |
return ioctl(1,TIOCGWINSZ,&w)<0?UINT_MAX:w.ws_row;}") | |
- (ffi:def-function | |
- ("kioskPledge" c-kiosk-pledge) | |
- () :returning :void) | |
- (ffi:def-function | |
- ("gotoPledge" c-pledge) | |
- () :returning :void) | |
+ #+openbsd | |
+ (progn | |
+ (ffi:def-function | |
+ ("kioskPledge" c-kiosk-pledge) | |
+ () :returning :void) | |
+ (ffi:def-function | |
+ ("gotoPledge" c-pledge) | |
+ () :returning :void)) | |
(ffi:def-function | |
("getTerminalHeight" c-termsize) | |
() :returning :unsigned-int) |