|
From: | Jan Djärv |
Subject: | Re: recent commit broke src/dired.c on OSX |
Date: | Sun, 25 Jul 2010 23:32:11 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 |
Jan Djärv skrev 2010-07-25 23.26:
All the #ifdefs that try to figure out if dirent.h (the POSIX-mandated header file for opendir) is present should be replaced with a configure check for dirent.h. Then SYSV_SYSTEM_DIR can go away.
Correction, it is: #include <sys/types.h> #include <dirent.h> DIR *opendir(const char *dirname); Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |