diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-04-12 10:27:48 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-04-12 10:27:48 +0200 |
commit | e4e2f41220caec3a3d20f3768336b804da8c3af1 (patch) | |
tree | 8730403fd8335b6fc11b831f4b87c183e8b90e10 /gmp-impl.h | |
parent | 04231b008d6e796d5ec9cb0fe930cca2d0a9d85b (diff) | |
download | gmp-e4e2f41220caec3a3d20f3768336b804da8c3af1.tar.gz |
* gmp-impl.h: Include config.h before TMP_ALLOC, so
--disable-alloca works.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r-- | gmp-impl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index 6d2405c01..a42f02db1 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -20,6 +20,12 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#include "gmp-mparam.h" +/* #include "longlong.h" */ + /* When using gcc, make sure to use its builtin alloca. */ #if ! defined (alloca) && defined (__GNUC__) #define alloca __builtin_alloca @@ -84,12 +90,6 @@ MA 02111-1307, USA. */ #define PREC(x) ((x)->_mp_prec) #define ALLOC(x) ((x)->_mp_alloc) -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif -#include "gmp-mparam.h" -/* #include "longlong.h" */ - #if (__STDC__-0) || defined (__cplusplus) void *malloc (size_t); void *realloc (void *, size_t); |