[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solaris 9

From: Pawel Kot
Subject: Re: Solaris 9
Date: Wed, 1 Nov 2006 14:57:53 +0100


On 11/1/06, Jari Turkia <address@hidden> wrote:
gnokii-calendar.c: In function `getcalendarnote':
gnokii-calendar.c:222: `INT_MAX' undeclared (first use in this function)
gnokii-calendar.c:222: (Each undeclared identifier is reported only once
gnokii-calendar.c:222: for each function it appears in.)
gnokii-calendar.c: In function `deletecalendarnote':
gnokii-calendar.c:304: `INT_MAX' undeclared (first use in this function)

There's no /usr/include/limits.h on Solaris? Strange.  There was
similiar problem with win32, am I correct?

Try the following patch:
Index: include/compat.h
RCS file: /cvsroot/gnokii/gnokii/include/compat.h,v
retrieving revision 1.49
diff -u -r1.49 compat.h
--- include/compat.h    3 Oct 2006 21:35:53 -0000       1.49
+++ include/compat.h    1 Nov 2006 13:55:28 -0000
@@ -97,6 +97,8 @@

#  include <limits.h>
+#  define INT_MAX 2147483647


take care,
Pawel Kot

reply via email to

[Prev in Thread] Current Thread [Next in Thread]