* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#if !defined( __LIBVLC__ )
- #error You are not libvlc or one of its plugins. You cannot include this file
-#endif
-
#ifndef __VLC_NETWORK_H
# define __VLC_NETWORK_H
# include <ws2tcpip.h>
# define ENETUNREACH WSAENETUNREACH
# define net_errno (WSAGetLastError())
-# define AI_NUMERICSERV 0
extern const char *net_strerror( int val );
struct iovec
# define AI_NUMERICHOST 4
# endif /* if !HAVE_STRUCT_ADDRINFO */
-/* Mac OS X doesn't define that one */
#ifndef AI_NUMERICSERV
-#define AI_NUMERICSERV 0
+# define AI_NUMERICSERV 0
#endif
VLC_EXPORT( const char *, vlc_gai_strerror, ( int ) );