From 313353f1fb9d40d0c3aaf7cfb99ca978b29003a4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 15 Mar 2010 15:20:05 -0700 Subject: [PATCH] Add Sun cc to thread-local support checks in pixman-compiler.h Clears '#warning: "unknown compiler"' messages when building Signed-off-by: Alan Coopersmith --- pixman/pixman-compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixman/pixman-compiler.h b/pixman/pixman-compiler.h index caafd0f..5aeef86 100644 --- a/pixman/pixman-compiler.h +++ b/pixman/pixman-compiler.h @@ -70,7 +70,7 @@ #endif /* TLS */ -#if defined (__GNUC__) && ((__GNUC__ == 3 && __GNUC_MINOR >= 3) || __GNUC__ > 3) +#if (defined (__GNUC__) && ((__GNUC__ == 3 && __GNUC_MINOR >= 3) || __GNUC__ > 3)) || defined(__SUNPRO_C) # define THREAD_LOCAL __thread #elif defined (_MSC_VER) # define THREAD_LOCAL __declspec(thread) -- 2.7.4