comparison compat.h @ 99:02bbe1f397bb

Fixed precision problems with drivesize and drivefree on FreeBSD.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 06 Aug 2002 05:22:19 +0000
parents ab77a22a2a36
children bb2b01c3122f
comparison
equal deleted inserted replaced
98:c0388006bb0d 99:02bbe1f397bb
194 void sockshutdown(void); 194 void sockshutdown(void);
195 int makedir(char *path); 195 int makedir(char *path);
196 void nonblock(int fd); 196 void nonblock(int fd);
197 void block(int fd); 197 void block(int fd);
198 void setfileinfo(char *filename, char *url, char *logfile); 198 void setfileinfo(char *filename, char *url, char *logfile);
199 #if (defined(__IBMC__) && __IBMC__ < 360) || (defined(__WIN32__) && !defined(__CYGWIN32__)) 199 #if (defined(__IBMC__) && __IBMC__ < 360)
200 unsigned long drivesize(int drive); 200 unsigned long drivesize(int drive);
201 unsigned long drivefree(int drive); 201 unsigned long drivefree(int drive);
202 #else 202 #else
203 unsigned long long drivefree(int drive); 203 unsigned long long drivefree(int drive);
204 unsigned long long drivesize(int drive); 204 unsigned long long drivesize(int drive);