Print this page
make: unifdef SUN5_0 (defined)

*** 34,48 **** /* * Included files */ - #if defined(SUN5_0) || defined(HP_UX) #include <dirent.h> /* opendir() */ - #else - #include <sys/dir.h> /* opendir() */ - #endif #include <errno.h> /* errno */ #include <mk/defs.h> #include <mksh/macro.h> /* getvar() */ #include <mksh/misc.h> /* get_prop(), append_prop() */ #include <sys/stat.h> /* lstat() */ --- 34,44 ----
*** 304,319 **** wchar_t *plain_file_name_p; Name plain_file; wchar_t tmp_wcs_buffer[MAXPATHLEN]; DIR *dir_fd; int m_local_dependency=0; - #if defined(SUN5_0) || defined(HP_UX) #define d_fileno d_ino register struct dirent *dp; - #else - register struct direct *dp; - #endif wchar_t *vpath = NULL; wchar_t *p; int result = 0; if(dir->hash.length >= MAXPATHLEN) { --- 300,311 ----