purported linux portability patch (Oliver Andrich)

This commit is contained in:
Guido van Rossum 1997-08-05 02:24:57 +00:00
parent 5d1770ee24
commit 668e441a86
1 changed files with 4 additions and 0 deletions

View File

@ -11,8 +11,12 @@ int getrusage(int who, struct rusage *rusage);
#endif
#ifndef getpagesize
#ifdef linux
extern size_t getpagesize(void);
#else
int getpagesize(void);
#endif
#endif
#define doubletime(TV) ((double)(TV).tv_sec + (TV).tv_usec * 0.000001)