ObjFW  Diff

Differences From Artifact [fcb5839156]:

To Artifact [173fdc42a2]:


16
17
18
19
20
21
22

23
24
25
26
27
28
29

#include <string.h>
#include <errno.h>

#import "macros.h"

#ifdef OF_HAVE_SOCKETS

# include "socket_helpers.h"
#endif

#ifndef _WIN32
# define GET_ERRNO	errno
# ifdef OF_HAVE_SOCKETS
#  if !defined(HAVE_GETADDRINFO) && defined(HAVE_H_ERRNO)







>







16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#include <string.h>
#include <errno.h>

#import "macros.h"

#ifdef OF_HAVE_SOCKETS
# include "socket.h"
# include "socket_helpers.h"
#endif

#ifndef _WIN32
# define GET_ERRNO	errno
# ifdef OF_HAVE_SOCKETS
#  if !defined(HAVE_GETADDRINFO) && defined(HAVE_H_ERRNO)