2002-02-07 06:26:42 +01: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 02:03:56 +01:00
|
|
|
#include <gcj/cni.h>
|
2002-04-07 13:27:00 +02:00
|
|
|
#include <java/util/Properties.h>
|
2002-02-07 06:26:42 +01:00
|
|
|
|
2002-08-27 18:08:31 +02:00
|
|
|
#include <io.h>
|
2002-08-26 07:29:59 +02:00
|
|
|
|
2002-02-07 19:59:52 +01:00
|
|
|
extern void _Jv_platform_initialize (void);
|
2002-04-07 13:27:00 +02:00
|
|
|
extern void _Jv_platform_initProperties (java::util::Properties*);
|
2002-03-08 02:03:56 +01:00
|
|
|
extern jlong _Jv_platform_gettimeofday ();
|
2002-02-07 06:26:42 +01:00
|
|
|
|
2002-04-05 06:22:28 +02:00
|
|
|
inline void
|
|
|
|
_Jv_platform_close_on_exec (jint)
|
2002-03-10 18:59:23 +01:00
|
|
|
{
|
|
|
|
// Ignore.
|
|
|
|
}
|
|
|
|
|
2002-04-24 03:33:19 +02: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 06:26:42 +01:00
|
|
|
#endif /* __JV_WIN32_H__ */
|