Revision 1632

trunk/src/linad99/pvmwin.h (revision 1632)
1
/*
2
 * $Id$
3
 *
4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California
6
 *
7
 * ADModelbuilder and associated libraries and documentations are
8
 * provided under the general terms of the "BSD" license.
9
 *
10
 * License:
11
 *
12
 * Redistribution and use in source and binary forms, with or without
13
 * modification, are permitted provided that the following conditions are
14
 * met:
15
 *
16
 * 1. Redistributions of source code must retain the above copyright
17
 * notice, this list of conditions and the following disclaimer.
18
 *
19
 * 2.  Redistributions in binary form must reproduce the above copyright
20
 * notice, this list of conditions and the following disclaimer in the
21
 * documentation and/or other materials provided with the distribution.
22
 *
23
 * 3.  Neither the name of the  University of California, Otter Research,
24
 * nor the ADMB Foundation nor the names of its contributors may be used
25
 * to endorse or promote products derived from this software without
26
 * specific prior written permission.
27
 *
28
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
32
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
33
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
34
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
 *
40
 */
41
/**
42
 * \file
43
 * Description not yet available.
44
 */
45
/*
46
 *         PVM version 3.4:  Parallel Virtual Machine System
47
 *               University of Tennessee, Knoxville TN.
48
 *           Oak Ridge National Laboratory, Oak Ridge TN.
49
 *                   Emory University, Atlanta GA.
50
 *      Authors:  J. J. Dongarra, G. E. Fagg, M. Fischer,
51
 *          G. A. Geist, J. A. Kohl, R. J. Manchek, P. Mucci,
52
 *         P. M. Papadopoulos, S. L. Scott, and V. S. Sunderam
53
 *                   (C) 1997 All Rights Reserved
54
 *
55
 *                              NOTICE
56
 *
57
 * Permission to use, copy, modify, and distribute this software and
58
 * its documentation for any purpose and without fee is hereby granted
59
 * provided that the above copyright notice appear in all copies and
60
 * that both the copyright notice and this permission notice appear in
61
 * supporting documentation.
62
 *
63
 * Neither the Institutions (Emory University, Oak Ridge National
64
 * Laboratory, and University of Tennessee) nor the Authors make any
65
 * representations about the suitability of this software for any
66
 * purpose.  This software is provided ``as is'' without express or
67
 * implied warranty.
68
 *
69
 * PVM version 3 was funded in part by the U.S. Department of Energy,
70
 * the National Science Foundation and the State of Tennessee.
71
 */
72

  
73
/* cruft file for different compiler specifications
74
*  like Watcom, Visual, Borland ...
75
*
76
*  added __fortran stub    06/21/1997 	Fischer
77
*/
78

  
79

  
80
#ifdef WIN32
81
#define __fortran __stdcall
82
#endif
83

  
84
#define STRICT
85

  
86
#include <sys/timeb.h>
87
#include <time.h>
88
#include <process.h>
89
#include <winsock.h>
90

  
91
#include <windows.h>
92

  
93
/*	WIN32 gets stdarg.h via pvm3.h -> pvmwin.h -> windows.h
94
	nice coding trail - NOT...
95
	since WIN32 is not a __STDC__ environment - it needs varargs.h
96
	so, this will cleanup the incorrect include order for var args
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff