Apply #ifdefs around functionality not available on win32

And also the reverse: around some win32 specific functionality
This commit is contained in:
Maarten Bosmans 2011-01-06 00:51:33 +01:00
parent 0ac0479534
commit bb12ff8356
20 changed files with 120 additions and 13 deletions

View file

@ -1,8 +1,12 @@
#ifndef fooinet_ptonhfoo
#define fooinet_ptonhfoo
#ifndef HAVE_INET_PTON
#include <pulsecore/socket.h>
int inet_pton(int af, const char *src, void *dst);
#endif
#endif