summaryrefslogtreecommitdiffstats
path: root/libvncclient/sockets.c
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-08 21:48:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-08 21:59:54 +0900
commit8c081c8888bccbf5adfe0fc4ec518e2cbfba9871 (patch)
tree9539c7e560efa4c8d8534c3fc60146a20fac157b /libvncclient/sockets.c
parent15a64bf9d5058a7290bf98fcb14bc03648a39814 (diff)
downloadlibtdevnc-8c081c8888bccbf5adfe0fc4ec518e2cbfba9871.tar.gz
libtdevnc-8c081c8888bccbf5adfe0fc4ec518e2cbfba9871.zip
Removed _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE, _XOPEN_SOURCE.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libvncclient/sockets.c')
-rw-r--r--libvncclient/sockets.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c
index 2963432..8d2eb98 100644
--- a/libvncclient/sockets.c
+++ b/libvncclient/sockets.c
@@ -22,14 +22,6 @@
* sockets.c - functions to deal with sockets.
*/
-#ifdef __STRICT_ANSI__
-#define _BSD_SOURCE
-#ifdef __linux__
-/* Setting this on other systems hides definitions such as INADDR_LOOPBACK.
- * The check should be for __GLIBC__ in fact. */
-# define _POSIX_SOURCE
-#endif
-#endif
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>