From: Alan Coopersmith Date: Mon, 15 Mar 2010 22:20:05 +0000 (-0700) Subject: Add Sun cc to thread-local support checks in pixman-compiler.h X-Git-Tag: 1.0_branch~616 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=313353f1fb9d40d0c3aaf7cfb99ca978b29003a4;p=profile%2Fivi%2Fpixman.git Add Sun cc to thread-local support checks in pixman-compiler.h Clears '#warning: "unknown compiler"' messages when building Signed-off-by: Alan Coopersmith --- 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)