[PATCH] compiling on OSX Snow Leopard
Paul Bagyenda <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Kannel CVS crashes when compiled as-is on Snow Leopard. Minor patch fixes things. Attached.
x86_64-osx.patch
(application/octet-stream, 653 B)
Index: gwlib/octstr.c =================================================================== RCS file: /home/cvs/gateway/gwlib/octstr.c,v retrieving revision 1.184 diff -u -r1.184 octstr.c --- gwlib/octstr.c 20 May 2009 10:01:43 -0000 1.184 +++ gwlib/octstr.c 6 Nov 2009 11:22:52 -0000 @@ -80,7 +80,7 @@ * which makes passing of the &args a bit tricky */ #if (defined(__linux__) && (defined(__powerpc__) || defined(__s390__) || defined(__x86_64))) || \ - (defined(__FreeBSD__) && defined(__amd64__)) + (defined(__FreeBSD__) && defined(__amd64__)) || defined(DARWIN) #define VARGS(x) (x) #define VALPARM(y) va_list y #define VALST(z) (z)