2002-02-07 13:26:42 +08:00
|
|
|
// 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>
|
2002-03-08 09:03:56 +08:00
|
|
|
#include <gcj/cni.h>
|
2002-04-07 19:27:00 +08:00
|
|
|
#include <java/util/Properties.h>
|
2002-02-07 13:26:42 +08:00
|
|
|
|
2002-08-28 00:08:31 +08:00
|
|
|
#include <io.h>
|
2002-08-26 13:29:59 +08:00
|
|
|
|
2002-02-08 02:59:52 +08:00
|
|
|
extern void _Jv_platform_initialize (void);
|
2002-04-07 19:27:00 +08:00
|
|
|
extern void _Jv_platform_initProperties (java::util::Properties*);
|
2002-03-08 09:03:56 +08:00
|
|
|
extern jlong _Jv_platform_gettimeofday ();
|
2002-02-07 13:26:42 +08:00
|
|
|
|
2002-04-05 12:22:28 +08:00
|
|
|
inline void
|
|
|
|
_Jv_platform_close_on_exec (jint)
|
2002-03-11 01:59:23 +08:00
|
|
|
{
|
|
|
|
// Ignore.
|
|
|
|
}
|
|
|
|
|
2002-04-24 09:33:19 +08:00
|
|
|
#define HAVE_BACKTRACE
|
|
|
|
|
|
|
|
/* Store up to SIZE return address of the current program state in
|
|
|
|
ARRAY and return the exact number of values stored. */
|
|
|
|
extern int backtrace (void **__array, int __size);
|
|
|
|
|
2002-02-07 13:26:42 +08:00
|
|
|
#endif /* __JV_WIN32_H__ */
|