Changeset 3a40eb in git for Singular/mod_lib.h


Ignore:
Timestamp:
Aug 20, 2013, 11:36:28 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
1dbfb4a46972767ca8f476540e393e0f2f779abb
Parents:
737c95d182062884bee7e54bf8afd4484d84f6c6
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-20 23:36:28+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-21 00:31:27+02:00
Message:
Porting Mathic to SW : mostly original sources from master
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/mod_lib.h

    r737c95 r3a40eb  
    22#define MOD_LIB_H
    33
    4 // #include <config.h>         /* for EMBED_PYTHON */
     4// #include <config.h>         /* for EMBED_PYTHON, HAVE_MATHICGB */
    55
    66#include <polys/mod_raw.h>  /* for lib_types */
     
    1010#ifdef EMBED_PYTHON
    1111#define SI_BUILTIN_PYOBJECT(add) add(pyobject) add(syzextra)
     12//TODO: the line above means that syzextra should be staticly embedded IFF pyobjects do so :(
    1213#else
    1314#define SI_BUILTIN_PYOBJECT(add)
     15#endif
     16
     17#ifdef HAVE_MATHICGB
     18# define SI_BUILTIN_MATHIC(add) add(singmathic)
     19#else
     20# define SI_BUILTIN_MATHIC(add)
    1421#endif
    1522
     
    1825#define SI_FOREACH_BUILTIN(add)\
    1926    add(staticdemo)\
     27    SI_BUILTIN_MATHIC(add)\
    2028    SI_BUILTIN_PYOBJECT(add)
    2129
     
    2331
    2432#endif
     33
Note: See TracChangeset for help on using the changeset viewer.