non-standard include file problem
BAKERWL
BAKERWL at corral.uwyo.edu
Tue Jul 20 13:24:02 EDT 1993
We have used the Sun SYS5 include file "dirent.h" which defines an
opendir() function to open a directory and return a pointer to that
directory stream in the r.le programs. This include file is not found
in BSD, so we are looking for a more universal approach, short of making
our own opendir function. BSD apparently has a dir.h include file that
may have opendir(). Anyone know a way around this one, or a way to
use an if statement to check for BSD or SYS5 and thus include the correct
.h file?
Bill Baker
bakerwl at corral.uwyo.edu
More information about the grass-dev
mailing list