On Wed, Jan 29, 2014 at 10:52 AM, Eric Anholt <[email protected]> wrote: > The build system defines it globally.
Reviewed-by: Daniel Kurtz <[email protected]> > --- > 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/piglit _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
