From ca8be0858c029c4d1adcc66d1c39007a81cbf1dd Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 7 Oct 2012 22:50:58 -0400 Subject: [PATCH] ck_pr: Re-include port selection logic. --- include/ck_pr.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/ck_pr.h b/include/ck_pr.h index c5c6e92..f64213f 100644 --- a/include/ck_pr.h +++ b/include/ck_pr.h @@ -33,7 +33,21 @@ #include #include +#if defined(__x86_64__) +#include "gcc/x86_64/ck_pr.h" +#elif defined(__x86__) +#include "gcc/x86/ck_pr.h" +#elif defined(__sparcv9__) +#include "gcc/sparcv9/ck_pr.h" +#elif defined(__ppc64__) +#include "gcc/ppc64/ck_pr.h" +#elif defined(__ppc__) +#include "gcc/ppc/ck_pr.h" +#elif defined(__GNUC__) #include "gcc/ck_pr.h" +#else +#error Your platform is unsupported +#endif #define CK_PR_BIN(K, S, M, T, P, C) \ CK_CC_INLINE static void \