From b12be99140b0dd1a9c778758c825c11e885c6a56 Mon Sep 17 00:00:00 2001 From: Dan Witte Date: Fri, 5 Mar 2010 11:31:00 -0800 Subject: [PATCH] Remove Solaris hack now that it's been upstreamed. b=538216, rs=ted --- js/ctypes/Function.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/ctypes/Function.h b/js/ctypes/Function.h index c2589d4ed5af..7986bdeb2280 100644 --- a/js/ctypes/Function.h +++ b/js/ctypes/Function.h @@ -43,18 +43,6 @@ #include "Module.h" #include "nsTArray.h" #include "prlink.h" - -// Define __i386__ and __x86_64__ as appropriate for the Sun Pro compiler, -// before #including ffi.h. (libffi itself is built with gcc on Solaris.) -#if defined(__SUNPRO_C) || defined(__SUNPRO_CC) -#ifdef __i386 -#define __i386__ -#endif -#ifdef __x86_64 -#define __x86_64__ -#endif -#endif - #include "ffi.h" namespace mozilla {