Ignore:
Timestamp:
22/01/2008 01:00:12 (4 years ago)
Author:
chris
Message:

Detect whether struct DIR has d_fd or dd_fd member and define the
dirfd() macro accordingly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r2048 r2054  
    160160  #include <netinet/in.h> 
    161161  ]]) 
     162AC_CHECK_MEMBERS([DIR.d_fd],,,  [[#include <dirent.h>]]) 
     163AC_CHECK_MEMBERS([DIR.dd_fd],,, [[#include <dirent.h>]]) 
    162164 
    163165AC_CHECK_DECLS([INFTIM],,, [[#include <poll.h>]]) 
Note: See TracChangeset for help on using the changeset viewer.