summaryrefslogtreecommitdiff
path: root/libjava/include/win32.h
blob: 73eb0c819d65a3abb69a5ed0873a735a82a8b22e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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 ();

void _Jv_platform_close_on_exec (jint)
{
  // Ignore.
}

#endif /* __JV_WIN32_H__ */