mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 16:19:34 +08:00
8eeda6e0e7
2002-03-07 Adam Megacz <adam@xwt.org> * win32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong. Added implementation * posix.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * win32.h (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * posix.h (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * java/lang/natSystem.cc (currentTimeMillis): Now uses updated _Jv_platform_gettimeofday signature. From-SVN: r50416
25 lines
551 B
C
25 lines
551 B
C
// win32.h -- Helper functions for Microsoft-flavored OSs.
|
|
|
|
/* Copyright (C) 2002 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
#ifndef __JV_WIN32_H__
|
|
#define __JV_WIN32_H__
|
|
|
|
#include <windows.h>
|
|
#undef STRICT
|
|
|
|
#undef __INSIDE_CYGWIN__
|
|
#include <winsock.h>
|
|
#include <gcj/cni.h>
|
|
|
|
extern void _Jv_platform_initialize (void);
|
|
extern jlong _Jv_platform_gettimeofday ();
|
|
|
|
#endif /* __JV_WIN32_H__ */
|