Changeset bdb9f5 in git


Ignore:
Timestamp:
Aug 26, 2013, 1:53:55 AM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
035b6439d8381335d8497466228554322c60d1de
Parents:
033e00f6e4890efd144712c5719cdffdd79e8598
git-author:
Martin Lee <martinlee84@web.de>2013-08-26 01:53:55+02:00
git-committer:
Martin Lee <martinlee84@web.de>2013-08-30 13:48:38+02:00
Message:
chg: extract version from flint.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    r033e00f rbdb9f5  
    769769}
    770770
     771/* version strings */
     772#ifdef HAVE_FLINT
     773#ifdef __cplusplus
     774extern "C"
     775{
     776#endif
     777#ifndef __GMP_BITS_PER_MP_LIMB
     778#define __GMP_BITS_PER_MP_LIMB GMP_LIMB_BITS
     779#endif
     780#include <flint/flint.h>
     781#ifdef __cplusplus
     782}
     783#endif
     784#endif
     785
    771786char * versionString()
    772787{
     
    797812#endif
    798813
     814#ifdef HAVE_FACTORY
    799815#ifdef HAVE_FLINT
    800 // #include <NTL/version.h>
    801               StringAppend("FLINT(??){'%s','%s'},", FLINT_CFLAGS, FLINT_LIBS);
    802 #endif
    803    
     816              StringAppend("FLINT(%s){'%s','%s'},",version, FLINT_CFLAGS, FLINT_LIBS);
     817#endif
     818#endif
    804819
    805820#if SIZEOF_VOIDP == 8
Note: See TracChangeset for help on using the changeset viewer.