GNOME Bugzilla – Bug 360296
Thinko breaks gtimer.c build on SunOS 5.9 (patch)
Last modified: 2006-10-08 05:13:05 UTC
On my SunOS 5.9 machine, building GLib fails in gtimer.c. The problem is that on this machine, HAVE_CLOCK_GETTIME is defined but HAVE_MONOTONIC_CLOCK isn't, and there is a preprocessor directive "#elif HAVE_CLOCK_GETTIME" when it should be "#elif USE_CLOCK_GETTIME". (The latter is a macro defined in the file. Simple patch to fix is attached. I can commit to CVS if it's OK.
Created attachment 74188 [details] [review] Patch to fix problem Fixes the problem. BTW, probably SunOS 5.9 = Solaris X.Y but I don't know anything about Solaris.
Already fixed in cvs