1
/*$Id: petscfix.h,v 1.100 2000/01/11 20:57:57 bsmith Exp $*/
4
This fixes various things in system files that are incomplete, for
5
instance many systems don't properly prototype all system functions.
6
It is not intended to DUPLICATE anything in the system include files;
7
if the compiler reports a conflict between a prototye in a system file
8
and this file then the prototype in this file should be removed.
10
This is included by files in src/sys/src
13
#if !defined(_PETSCFIX_H)
19
This prototype lets us resolve the datastructure 'rusage' only in
20
the source files using getrusage, and not in other source files.
22
typedef struct rusage* s_rusage;
24
/* ------------------ ASCI Red --------------------------------*/
25
#if defined(__cplusplus)
27
extern char *getwd(char *_name);
30
extern char *getwd(char *_name);
33
#define MPI_Comm_f2c(a) (a)
34
#define MPI_Comm_c2f(a) (int)(a)