diff options
Diffstat (limited to 'libvncserver')
-rw-r--r-- | libvncserver/httpd.c | 5 | ||||
-rw-r--r-- | libvncserver/main.c | 3 | ||||
-rw-r--r-- | libvncserver/rfbserver.c | 6 | ||||
-rw-r--r-- | libvncserver/scale.c | 3 | ||||
-rw-r--r-- | libvncserver/sockets.c | 9 | ||||
-rw-r--r-- | libvncserver/websockets.c | 4 |
6 files changed, 0 insertions, 30 deletions
diff --git a/libvncserver/httpd.c b/libvncserver/httpd.c index 8634b15..80adbcf 100644 --- a/libvncserver/httpd.c +++ b/libvncserver/httpd.c @@ -23,11 +23,6 @@ * USA. */ -#ifdef __STRICT_ANSI__ -#define _BSD_SOURCE -#define _POSIX_SOURCE -#endif - #include <rfb/rfb.h> #include <ctype.h> diff --git a/libvncserver/main.c b/libvncserver/main.c index 4fbe036..c185eb8 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -12,9 +12,6 @@ */ extern "C" { - #ifdef __STRICT_ANSI__ - #define _BSD_SOURCE - #endif #include <rfb/rfb.h> #include <rfb/rfbregion.h> #include "private.h" diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c index 44723ef..fa8423d 100644 --- a/libvncserver/rfbserver.c +++ b/libvncserver/rfbserver.c @@ -27,12 +27,6 @@ * USA. */ -#ifdef __STRICT_ANSI__ -#define _BSD_SOURCE -#define _POSIX_SOURCE -#define _XOPEN_SOURCE 600 -#endif - #include <stdio.h> #include <string.h> #include <rfb/rfb.h> diff --git a/libvncserver/scale.c b/libvncserver/scale.c index 3ca76dc..bf67f8e 100644 --- a/libvncserver/scale.c +++ b/libvncserver/scale.c @@ -25,9 +25,6 @@ * USA. */ -#ifdef __STRICT_ANSI__ -#define _BSD_SOURCE -#endif #include <string.h> #include <rfb/rfb.h> #include <rfb/rfbregion.h> 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 diff --git a/libvncserver/websockets.c b/libvncserver/websockets.c index bdec8f3..f5dd120 100644 --- a/libvncserver/websockets.c +++ b/libvncserver/websockets.c @@ -26,10 +26,6 @@ * USA. */ -#ifdef __STRICT_ANSI__ -#define _BSD_SOURCE -#endif - #include <rfb/rfb.h> /* errno */ #include <errno.h> |