Re: [PATCH] Fix the build. Do not redifine _XOPEN_SOURCE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux