[Top][All Lists]

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

[commit-cp] classpath ChangeLog native/jni/jav...

From: Pekka Enberg
Subject: [commit-cp] classpath ChangeLog native/jni/jav...
Date: Tue, 05 Jul 2011 18:52:47 +0000

CVSROOT:        /sources/classpath
Module name:    classpath
Changes by:     Pekka Enberg <penberg>  11/07/05 18:52:47

Modified files:
        .              : ChangeLog 
        native/jni/java-lang: java_lang_VMSystem.c 

Log message:
        Fix clock_gettime() support check for Darwin
        Darwin doesn't support clock_gettime() but has _POSIX_MONOTONIC_CLOCK 
        so use a more strict check with HAVE_CLOCK_GETTIME.
        This fixes the following compilation error:
          java_lang_VMSystem.c: In function 
          java_lang_VMSystem.c:148: warning: implicit declaration of function 
          java_lang_VMSystem.c:148: error: ‘CLOCK_MONOTONIC’ undeclared 
(first use in this function)
          java_lang_VMSystem.c:148: error: (Each undeclared identifier is 
reported only once
          java_lang_VMSystem.c:148: error: for each function it appears in.)
        2011-07-05  Pekka Enberg  <address@hidden>
               Check for clock_gettime().
               Fix compile error on systems that don't have clock_gettime().


reply via email to

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