Fixes GCC warning. ValidateProgramPipeline.c:23:0: warning: "_GNU_SOURCE" redefined [enabled by default] #define _GNU_SOURCE ^ <command-line>:0:0: note: this is the location of the previous definition
Signed-off-by: Vinson Lee <[email protected]> --- tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c b/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c index 2145d00..3354e29 100644 --- a/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c +++ b/tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c @@ -20,7 +20,9 @@ * 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 -- 1.8.3.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
