[project @ 2001-07-11 00:13:22 by sof]
authorsof <unknown>
Wed, 11 Jul 2001 00:13:22 +0000 (00:13 +0000)
committersof <unknown>
Wed, 11 Jul 2001 00:13:22 +0000 (00:13 +0000)
Avoid needless redefn of HAVE_ALLOCA

ghc/rts/gmp/gmp-impl.h

index 3d130d2..3c7ac26 100644 (file)
@@ -57,7 +57,9 @@ MA 02111-1307, USA. */
 #endif
 
 #if defined (alloca)
+# ifndef HAVE_ALLOCA
 #define HAVE_ALLOCA
+# endif
 #endif
 
 #if ! defined (HAVE_ALLOCA) || USE_STACK_ALLOC