[Piglit] [PATCH 1/9] Drop defines of _GNU_SOURCE in tests.
Daniel Kurtz
djkurtz at chromium.org
Tue Jan 28 21:07:41 PST 2014
On Wed, Jan 29, 2014 at 10:52 AM, Eric Anholt <eric at anholt.net> wrote:
> The build system defines it globally.
Reviewed-by: Daniel Kurtz <djkurtz at chromium.org>
> ---
> tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c | 4 +---
> tests/spec/ext_transform_feedback/api-errors.c | 3 ---
> 2 files changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c b/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c
> index 3354e29..2f698f3 100644
> --- a/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c
> +++ b/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c
> @@ -20,9 +20,7 @@
> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> * IN THE SOFTWARE.
> */
> -#ifndef _GNU_SOURCE
> -#define _GNU_SOURCE
> -#endif
> +
> #include "piglit-util-gl-common.h"
>
> PIGLIT_GL_TEST_CONFIG_BEGIN
> diff --git a/tests/spec/ext_transform_feedback/api-errors.c b/tests/spec/ext_transform_feedback/api-errors.c
> index c8d65c4..737dc20 100644
> --- a/tests/spec/ext_transform_feedback/api-errors.c
> +++ b/tests/spec/ext_transform_feedback/api-errors.c
> @@ -48,9 +48,6 @@
> * implementation is not overly aggressive in flagging errors.
> */
>
> -#ifndef _GNU_SOURCE
> -#define _GNU_SOURCE
> -#endif
> #include "piglit-util-gl-common.h"
>
> PIGLIT_GL_TEST_CONFIG_BEGIN
> --
> 1.8.5.3
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list