Browse files

Guard Solaris-specific assembly code from non-Solaris hosts

Signed-off-by: Antonio Terceiro <terceiro@softwarelivre.org>
  • Loading branch information...
1 parent b62a507 commit 0a0327d76027bf932f3ea9a59cf02ca2ae85ac79 @sadkingbilly sadkingbilly committed with Jan 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libtest/NumberTest.c
View
2 libtest/NumberTest.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <stdint.h>
-#ifdef __sparc
+#if defined(__sparc) && defined(__sun__)
#define fix_mem_access __asm("ta 6")
#else
#define fix_mem_access

0 comments on commit 0a0327d

Please sign in to comment.