daemon/Win32: make some functions and fields optional.
authorRichard Jones <rjones@redhat.com>
Fri, 20 Nov 2009 10:38:07 +0000 (10:38 +0000)
committerRichard Jones <rjones@redhat.com>
Fri, 20 Nov 2009 10:38:07 +0000 (10:38 +0000)
commitedb9b3abc03c0a0f84b1cbd9cf5920e3c84e5c18
tree61a6ab919ea233f6a37098302beabaefaabdafbb
parent7d8a3404b27fcd71f84dbe4c022c4435d0070d6b
daemon/Win32: make some functions and fields optional.

inotify: Make this optional on platforms that don't have this interface.

mknod, mkfifo etc.: Make these optional on non-Unix platforms.

readdir: If d_type field is missing on the platform, set the corresponding
field to 'u'.

stat: st_blocks and st_blksize are missing on non-Unix platforms, so
set these fields to -1 in the corresponding structures.
daemon/configure.ac
daemon/inotify.c
daemon/mknod.c
daemon/readdir.c
daemon/stat.c