Changeset 566e55 in git


Ignore:
Timestamp:
May 5, 1997, 5:15:13 PM (27 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6149776d5a032540d52a5919e42a4298e988e886
Parents:
ea5b50beaef1771ec8ae6dd013c166b930270769
Message:
* hannes: fix HAVE_LIBGMP1/2 again


git-svn-id: file:///usr/local/Singular/svn/trunk@249 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/longrat.cc

    rea5b50 r566e55  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: longrat.cc,v 1.7 1997-05-05 15:10:37 Singular Exp $ */
     4/* $Id: longrat.cc,v 1.8 1997-05-05 15:15:13 Singular Exp $ */
    55/*
    66* ABSTRACT: computation with long rational numbers (Hubert Grassmann)
     
    1414#include "numbers.h"
    1515#include "modulop.h"
    16 
    17 #ifdef HAVE_GMP
    18 extern "C" {
    19 #ifdef macintosh
    20 #include "b_gmp.h"
    21 #else
    22 #include "gmp.h"
    23 #endif
    24 }
    25 #if (__GNU_MP_VERSION > 1) && (__GNU_MP_VERSION_MINOR >= 0)
    26 #  define HAVE_LIBGMP2
    27 #else
    28 #  define HAVE_LIBGMP1
    29 #endif
    30 
    31 #endif /* HAVE_GMP */
    32 
    3316#include "longrat.h"
    3417
  • Singular/longrat.h

    rea5b50 r566e55  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: longrat.h,v 1.4 1997-05-05 10:14:08 Singular Exp $ */
     6/* $Id: longrat.h,v 1.5 1997-05-05 15:15:12 Singular Exp $ */
    77/*
    88* ABSTRACT: computation with long rational numbers
    99*/
    1010#include "structs.h"
     11
    1112#ifdef HAVE_GMP
    1213extern "C" {
     
    1718#endif
    1819}
     20#if (__GNU_MP_VERSION > 1) && (__GNU_MP_VERSION_MINOR >= 0)
     21#  define HAVE_LIBGMP2
     22#else
     23#  define HAVE_LIBGMP1
     24#endif
     25
    1926typedef MP_INT lint;
    2027
Note: See TracChangeset for help on using the changeset viewer.