I'm afraid the following change
date: 2004/03/05 21:03:46; author: julliard; state: Exp; Use statvfs instead of statfs, and provide a default implementation in libwine_port if necessary.
is not portable, as seen on FreeBSD 4.8:
acrux[71]:/sw/test/wine/libs/port% make /sw/gcc-3.3.2/bin/gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o statvfs.o statvfs.c statvfs.c: In function `statvfs': statvfs.c:60: error: structure has no member named `f_namelen'
Would you mind adding an autoconf test for that? (I saw that there are already a couple of those for statvfs.)
Gerald
I noticed that Alexandre fixed this; thanks!
The only issue remaining now is the following, in files/drive.c
../../files/drive.c: In function `DRIVE_GetFreeSpace': ../../files/drive.c:768: warning: implicit declaration of function `statvfs'
which was added by
revision 1.107 date: 2004/03/05 21:03:46; author: julliard; state: Exp; lines: +11 -22 Use statvfs instead of statfs, and provide a default implementation in libwine_port if necessary.
Gerald