fix.h
来自「CCSM Research Tools: Community Atmospher」· C头文件 代码 · 共 38 行
H
38 行
/*$Id: fix.h,v 1.1.8.1 2002/04/27 15:38:59 erik Exp $*//* This fixes various things in system files that are incomplete, for instance many systems don't properly prototype all system functions. It is not intended to DUPLICATE anything in the system include files; if the compiler reports a conflict between a prototye in a system file and this file then the prototype in this file should be removed. This is included by files in src/sys/src*/#if !defined(ESMC_FIX_H)#define ESMC_FIX_H#include "MC.h"/* This prototype lets us resolve the datastructure 'rusage' only in the source files using getrusage, and not in other source files.*/typedef struct rusage* s_rusage;/* -----------------------SGI IRIX -----------------------------------------*/#if defined(__cplusplus)extern "C" {/* Variation needed on older versions of the OS extern int gettimeofday(struct timeval *, struct timezone *);*/#include <sys/resource.h>extern int gettimeofday(struct timeval *,...);}#else#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?