Changeset 825fb7 in git for Singular/iplib.cc


Ignore:
Timestamp:
Mar 6, 2013, 6:44:01 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
f173183e1e8e9298c653eac481092476311ff4b5
Parents:
d5a330ab1c423ea119367c33b67f155b398bfa16
Message:
fixes for the static version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    rd5a330 r825fb7  
    10761076}
    10771077
    1078 #ifdef HAVE_DYNAMIC_LOADING
    10791078int iiAddCprocTop(const char *libname, const char *procname, BOOLEAN pstatic,
    10801079               BOOLEAN(*func)(leftv res, leftv v))
     
    10891088
    10901089/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
     1090#ifdef HAVE_DYNAMIC_LOADING
    10911091BOOLEAN load_modules(char *newlib, char *fullname, BOOLEAN autoexport)
    10921092{
     
    11701170#endif /*STATIC */
    11711171}
     1172#endif /* HAVE_DYNAMIC_LOADING */
    11721173/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
    11731174BOOLEAN load_builtin(char *newlib, BOOLEAN autoexport, SModulFunc_t init)
     
    12581259  void* result = NULL;
    12591260
    1260 #ifdef HAVE_STATIC
     1261#if defined(HAVE_STATIC) || !defined(HAVE_DYNAMIC_LOADING)
    12611262  WerrorS("static version can not load function from dynamic modules");
    12621263#else
     
    12801281}
    12811282
    1282 #endif /* HAVE_DYNAMIC_LOADING */
    12831283
    12841284/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
Note: See TracChangeset for help on using the changeset viewer.