2002-08-27 Nick Clifton <nickc@redhat.com>
[official-gcc.git] / libjava / include / win32.h
blobda71b8be56a0407f7adbb7b3c18f7823beae159d
1 // win32.h -- Helper functions for Microsoft-flavored OSs.
3 /* Copyright (C) 2002 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9 details. */
11 #ifndef __JV_WIN32_H__
12 #define __JV_WIN32_H__
14 #include <windows.h>
15 #undef STRICT
17 #undef __INSIDE_CYGWIN__
18 #include <winsock.h>
19 #include <gcj/cni.h>
20 #include <java/util/Properties.h>
22 #include <io.h>
24 extern void _Jv_platform_initialize (void);
25 extern void _Jv_platform_initProperties (java::util::Properties*);
26 extern jlong _Jv_platform_gettimeofday ();
28 inline void
29 _Jv_platform_close_on_exec (jint)
31 // Ignore.
34 #define HAVE_BACKTRACE
36 /* Store up to SIZE return address of the current program state in
37 ARRAY and return the exact number of values stored. */
38 extern int backtrace (void **__array, int __size);
40 #endif /* __JV_WIN32_H__ */