1. 28 Apr, 2018 1 commit
    • Justin Brewer's avatar
      Strip down fmacros.h · 49bbaacc
      Justin Brewer authored
      
      
      strerror_r and addrinfo require _POSIX_C_SOURCE >= 200112L,  which is
      implied by _XOPEN_SOURCE >= 600. With the removal of AF_LOCAL usage,
      the only non-standard features being used are the TCP_KEEP* socket
      flags. _DARWIN_C_SOURCE is required to expose TCP_KEEPALIVE.
      
      Fall back to using _XOPEN_SOURCE 600 for all platforms, and
      additionally define _DARWIN_C_SOURCE for Darwin.
      Signed-off-by: default avatarJustin Brewer <jzb0012@auburn.edu>
      49bbaacc
  2. 06 Jan, 2018 1 commit
  3. 05 Jan, 2018 1 commit
  4. 17 May, 2017 1 commit
  5. 20 Jun, 2016 1 commit
  6. 20 Apr, 2016 1 commit
    • owent's avatar
      Add CI for Windows · 6c53d680
      owent authored
      - fix macro problem in mingw-gcc
      - fix typedef in cygwin
      6c53d680
  7. 17 Apr, 2016 1 commit
  8. 18 Nov, 2015 1 commit
    • Tom Lee's avatar
      Fix strerror_r on some esoteric platforms · bb1747b1
      Tom Lee authored
      Defining _XOPEN_SOURCE=1 causes strange behavior on Debian kfreebsd
      archs (i.e. GNU userspace with FreeBSD kernel) when _GNU_SOURCE is not
      defined.
      
      Not sure I fully understand the bizarre semantics, but it seems to
      use the XSI-compliant interface
      (int strerror_r(int, char*, size_t)) but the GNU implementation
      (char *strerror_r(int, char*, size_t)) such that strerror_r returns
      32-bits of a 64-bit char * on x86_64 kfreebsd. We would expect
      strerror_r to return zero when using the XSI-compliant strerror_r
      implementation or a 64-bit char* when using the GNU version. Instead,
      we get something in between!
      
      Unless I'm missing something, being more explicit about what version
      of _XOPEN_SOURCE we want seems to be the prudent thing to do here --
      and if folks want the GNU implementation of strerror_r for some reason
      they can always -D_GNU_SOURCE explicitly.
      bb1747b1
  9. 06 Jan, 2015 1 commit
  10. 09 Apr, 2014 1 commit
  11. 01 May, 2013 1 commit
  12. 18 Jun, 2011 2 commits
  13. 29 Mar, 2011 1 commit
  14. 18 May, 2010 1 commit