aboutsummaryrefslogtreecommitdiff
path: root/demo-async.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-16 12:40:14 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-16 12:40:14 +0000
commit4f73b850c5a215e6cce7a559650a3cf7ec89d433 (patch)
treece1cdf78bdaa18bc4c9546b007c2c4fa51d10448 /demo-async.c
parentc2dd9675d6af30ab5129519325bac68491087cc1 (diff)
downloadtermo-4f73b850c5a215e6cce7a559650a3cf7ec89d433.tar.gz
termo-4f73b850c5a215e6cce7a559650a3cf7ec89d433.tar.xz
termo-4f73b850c5a215e6cce7a559650a3cf7ec89d433.zip
Added compile-vs-runtime library version checks
Diffstat (limited to 'demo-async.c')
-rw-r--r--demo-async.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demo-async.c b/demo-async.c
index d4d0d46..0cb7066 100644
--- a/demo-async.c
+++ b/demo-async.c
@@ -11,6 +11,8 @@ void on_key(termkey_t *tk, termkey_key *key)
}
int main(int argc, char *argv[]) {
+ TERMKEY_CHECK_VERSION;
+
termkey_t *tk = termkey_new(0, 0);
if(!tk) {