Added compile-vs-runtime library version checks

This commit is contained in:
Paul LeoNerd Evans
2008-11-16 12:40:14 +00:00
parent c2dd9675d6
commit 4f73b850c5
4 changed files with 26 additions and 0 deletions

2
demo.c
View File

@@ -3,6 +3,8 @@
#include "termkey.h"
int main(int argc, char *argv[]) {
TERMKEY_CHECK_VERSION;
char buffer[50];
termkey_t *tk = termkey_new(0, 0);