summaryrefslogtreecommitdiff
path: root/libjava/include/posix.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-09 18:47:54 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-09 18:47:54 +0000
commitc44de8ab02bf815fb920a2e6f1e6e16aadf05b07 (patch)
tree744b26f2524a58c1a0d12f1c85353fc349623374 /libjava/include/posix.h
parent595e90415cd831dfd3680ccdb134f5f71392a88e (diff)
downloadgcc-c44de8ab02bf815fb920a2e6f1e6e16aadf05b07.tar.gz
* win32.cc (_Jv_platform_nanotime): New function.
* include/win32.h (_Jv_platform_nanotime): Declare. * posix.cc (_Jv_platform_nanotime): New function. * include/posix.h (_Jv_platform_nanotime): Declare. * java/lang/natSystem.cc (nanoTime): New method. * java/lang/System.java (nanoTime): Declare. * include/config.h.in, configure: Rebuilt. * configure.ac: Check for clock_gettime. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111869 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/posix.h')
-rw-r--r--libjava/include/posix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h
index 28ac243e7c1..4ceb0081a18 100644
--- a/libjava/include/posix.h
+++ b/libjava/include/posix.h
@@ -1,6 +1,6 @@
// posix.h -- Helper functions for POSIX-flavored OSs.
-/* Copyright (C) 2000, 2002, 2003 Free Software Foundation
+/* Copyright (C) 2000, 2002, 2003, 2006 Free Software Foundation
This file is part of libgcj.
@@ -79,6 +79,7 @@ details. */
extern int _Jv_select (int n, fd_set *, fd_set *, fd_set *, struct timeval *);
extern jlong _Jv_platform_gettimeofday ();
+extern jlong _Jv_platform_nanotime ();
extern void _Jv_platform_initialize (void);
extern void _Jv_platform_initProperties (java::util::Properties*);