summaryrefslogtreecommitdiffstats
path: root/libvncserver/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 /libvncserver/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 'libvncserver/sockets.c')
-rw-r--r--libvncserver/sockets.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libvncserver/sockets.c b/libvncserver/sockets.c
index bbc3d90..e4fc52b 100644
--- a/libvncserver/sockets.c
+++ b/libvncserver/sockets.c
@@ -42,15 +42,6 @@
* USA.
*/
-#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 <rfb/rfb.h>
#ifdef LIBVNCSERVER_HAVE_SYS_TYPES_H