moonbridge

diff moonbridge_io.c @ 212:453b7d1a7944

Avoid use of accept4() function in favor of accept() to avoid using _GNU_SOURCE on GNU/Linux
author jbe
date Mon Jun 22 22:19:41 2015 +0200 (2015-06-22)
parents a3d569d3e85d
children 43a077f2ab49
line diff
     1.1 --- a/moonbridge_io.c	Mon Jun 22 21:26:33 2015 +0200
     1.2 +++ b/moonbridge_io.c	Mon Jun 22 22:19:41 2015 +0200
     1.3 @@ -3,9 +3,6 @@
     1.4  #define __has_include(x) 0
     1.5  #endif
     1.6  
     1.7 -#if defined(__linux__)
     1.8 -#define _GNU_SOURCE
     1.9 -#endif
    1.10  #include <stdlib.h>
    1.11  #include <stdint.h>
    1.12  #include <string.h>

Impressum / About Us