[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH] Fix the build. Do not redifine _XOPEN_SOURCE
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH] Fix the build. Do not redifine _XOPEN_SOURCE
- Date: Thu, 12 Mar 2009 10:53:30 -0400
> diff --git a/dm.c b/dm.c
> index d4e3a6a..a1572f0 100644
> --- a/dm.c
> +++ b/dm.c
> @@ -37,6 +37,8 @@
> #undef _POSIX_C_SOURCE
> #define ARGHB _GNU_SOURCE
> #undef _GNU_SOURCE
> +#define ARGHC _XOPEN_SOURCE
> +#undef _XOPEN_SOURCE
> #include <Python.h>
> #undef _POSIX_C_SOURCE
> #define _POSIX_C_SOURCE ARGHA
> @@ -44,6 +46,9 @@
> #undef _GNU_SOURCE
> #define _GNU_SOURCE ARGHB
> #undef ARGHB
> +#undef _XOPEN_SOURCE
> +#define _XOPEN_SOURCE ARGHC
> +#undef ARGHC
This is not more weird than what's already in the code, so I say go for
it.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]