|
Last change
on this file since 1389 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
918 bytes
|
| Line | |
|---|
| 1 | // win32.h -- Helper functions for Microsoft-flavored OSs.
|
|---|
| 2 |
|
|---|
| 3 | /* Copyright (C) 2002 Free Software Foundation
|
|---|
| 4 |
|
|---|
| 5 | This file is part of libgcj.
|
|---|
| 6 |
|
|---|
| 7 | This software is copyrighted work licensed under the terms of the
|
|---|
| 8 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|---|
| 9 | details. */
|
|---|
| 10 |
|
|---|
| 11 | #ifndef __JV_WIN32_H__
|
|---|
| 12 | #define __JV_WIN32_H__
|
|---|
| 13 |
|
|---|
| 14 | #include <windows.h>
|
|---|
| 15 | #undef STRICT
|
|---|
| 16 |
|
|---|
| 17 | #undef __INSIDE_CYGWIN__
|
|---|
| 18 | #include <winsock.h>
|
|---|
| 19 | #include <gcj/cni.h>
|
|---|
| 20 | #include <java/util/Properties.h>
|
|---|
| 21 |
|
|---|
| 22 | extern void _Jv_platform_initialize (void);
|
|---|
| 23 | extern void _Jv_platform_initProperties (java::util::Properties*);
|
|---|
| 24 | extern jlong _Jv_platform_gettimeofday ();
|
|---|
| 25 |
|
|---|
| 26 | inline void
|
|---|
| 27 | _Jv_platform_close_on_exec (jint)
|
|---|
| 28 | {
|
|---|
| 29 | // Ignore.
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | #define HAVE_BACKTRACE
|
|---|
| 33 |
|
|---|
| 34 | /* Store up to SIZE return address of the current program state in
|
|---|
| 35 | ARRAY and return the exact number of values stored. */
|
|---|
| 36 | extern int backtrace (void **__array, int __size);
|
|---|
| 37 |
|
|---|
| 38 | #endif /* __JV_WIN32_H__ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.