From e39e89e48f8d6afd91566ac5e039e99545045a86 Mon Sep 17 00:00:00 2001 From: fourdan Date: Thu, 18 May 2006 11:18:01 +0000 Subject: Rework the Makefile for cleaner installation, redo the debian packaging administration files for better lib/dev files splitting, move the Ivy header files to a new Ivy/ subdir to avoid conflicts with other existing system headers (beware, that *will* break existing code that needs to look in the the new path for headers inclusion) --- examples/testUnbind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/testUnbind.c') diff --git a/examples/testUnbind.c b/examples/testUnbind.c index 16a4a8a..e302a0f 100644 --- a/examples/testUnbind.c +++ b/examples/testUnbind.c @@ -13,8 +13,8 @@ #include #include #include -#include -#include +#include +#include #define REGEXP "^ub" void Callback (IvyClientPtr app, void *user_data, int argc, char *argv[]) { -- cgit v1.1 From 67df43b17ea79da1cf761dce8a449e89e9dc3269 Mon Sep 17 00:00:00 2001 From: fourdan Date: Tue, 4 Jul 2006 14:35:08 +0000 Subject: Passage en version 3.9, mise a jour paquets Debian. --- examples/testUnbind.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'examples/testUnbind.c') diff --git a/examples/testUnbind.c b/examples/testUnbind.c index e302a0f..2cc7fdd 100644 --- a/examples/testUnbind.c +++ b/examples/testUnbind.c @@ -15,6 +15,7 @@ #include #include #include +#include #define REGEXP "^ub" void Callback (IvyClientPtr app, void *user_data, int argc, char *argv[]) { @@ -30,6 +31,10 @@ int main(int argc, char *argv[]) { ptr=IvyBindMsg(Callback,&ptr,REGEXP); printf("bound to %s\n",REGEXP); IvyStart(NULL); - IvyMainLoop(0); +#if (IVYMAJOR_VERSION == 3) && (IVYMINOR_VERSION < 9) + IvyMainLoop(NULL, NULL); +#else + IvyMainLoop(); +#endif return 0; } -- cgit v1.1