Solaris Studio does not support "#pragma once". Fixes build with Solaris Studio.
Signed-off-by: Vinson Lee <[email protected]> --- tests/util/piglit-util.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tests/util/piglit-util.h b/tests/util/piglit-util.h index c0323ca..51c3220 100755 --- a/tests/util/piglit-util.h +++ b/tests/util/piglit-util.h @@ -22,6 +22,8 @@ */ #pragma once +#ifndef PIGLIT_UTIL_H +#define PIGLIT_UTIL_H #ifdef __cplusplus extern "C" { @@ -306,3 +308,5 @@ static const GLint PIGLIT_ATTRIB_TEX = 1; #ifdef __cplusplus } /* end extern "C" */ #endif + +#endif /* PIGLIT_UTIL_H */ -- 1.7.3.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
