Solaris Studio does not support "#pragma once". Fixes piglit-framework build error with Solaris Studio.
Signed-off-by: Vinson Lee <[email protected]> --- tests/util/piglit-framework.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tests/util/piglit-framework.h b/tests/util/piglit-framework.h index 850a1f8..e1a2a98 100644 --- a/tests/util/piglit-framework.h +++ b/tests/util/piglit-framework.h @@ -22,6 +22,8 @@ */ #pragma once +#ifndef PIGLIT_FRAMEWORK_H +#define PIGLIT_FRAMEWORK_H #include <assert.h> #include <stdbool.h> @@ -127,3 +129,5 @@ extern bool piglit_use_fbo; extern unsigned int piglit_winsys_fbo; extern void piglit_present_results(); + +#endif /* PIGLIT_FRAMEWORK_H */ -- 1.7.3.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
