From 60323df590c81b1da1cc3916fd7f15f433baf78a Mon Sep 17 00:00:00 2001 From: "zik.saleeba" Date: Tue, 2 Mar 2010 19:58:08 +0000 Subject: [PATCH] Fix for UltraSPARC64 alignment git-svn-id: http://picoc.googlecode.com/svn/trunk@411 21eae674-98b7-11dd-bd71-f92a316d2d60 --- platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.h b/platform.h index 8d5f37e..4d45c5f 100644 --- a/platform.h +++ b/platform.h @@ -11,7 +11,7 @@ */ #define LARGE_INT_POWER_OF_TEN 1000000000 /* the largest power of ten which fits in an int on this architecture */ -#ifdef __hppa__ +#if defined(__hppa__) || defined(__sparc__) #define ALIGN_TYPE double /* the data type to use for alignment */ #else #define ALIGN_TYPE void * /* the data type to use for alignment */