Chris Lamb wrote:

> Hi Christoph,
> 
> > redis won't build without _XOPEN_SOURCE set to 700,

I decided to apply your patch locally, but it actually breaks compilation on
my linux-amd64 box. As a reminder, your patch was:

  --- redis-2.2.11.orig/src/fmacros.h
  +++ redis-2.2.11/src/fmacros.h
  @@ -3,7 +3,7 @@
 
   #define _BSD_SOURCE
 
  -#ifdef __linux__
  +#ifdef __GLIBC__
   #define _XOPEN_SOURCE 700
   #else
   #define _XOPEN_SOURCE

However, __GLIBC__ doesn't seem to be defined (so it only defines
_XOPEN_SOURCE).

Including <features.h> sets __GLIBC__ but then other things break. I'm sure
you can fix this faster than me so passing this back for now.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org
       `-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to