Mercurial > dwindows
diff compat.h @ 101:a5da1ac53b34
Use long double instead of long long for drivesize and drivefree.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 06 Aug 2002 07:54:13 +0000 |
parents | bb2b01c3122f |
children | 0fc45e386376 |
line wrap: on
line diff
--- a/compat.h Tue Aug 06 05:31:04 2002 +0000 +++ b/compat.h Tue Aug 06 07:54:13 2002 +0000 @@ -196,13 +196,8 @@ void nonblock(int fd); void block(int fd); void setfileinfo(char *filename, char *url, char *logfile); -#if (defined(__IBMC__) && __IBMC__ < 360) || (defined(__WIN32__) && !defined(__CYGWIN32__)) -unsigned long drivesize(int drive); -unsigned long drivefree(int drive); -#else -unsigned long long drivefree(int drive); -unsigned long long drivesize(int drive); -#endif +long double drivesize(int drive); +long double drivefree(int drive); int isdrive(int drive); void getfsname(int drive, char *buf, int len); FILE *fsopen(char *path, char *modes);