Ignore:
Timestamp:
10/20/12 00:24:34 (13 years ago)
Author:
Eric.Larour
Message:

CHG: made necessary changes to repair the broken adolc compile. Had to introduce _WRAPPER_ symbol
for the matlab and python wrapper compile, as they were calling on AD specific capabilities!

Location:
issm/trunk-jpl/src/c/shared/Numerics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Numerics/isnan.h

    r12583 r13767  
    55#ifndef _XISNAN_H_
    66#define _XISNAN_H_
     7
     8#ifdef HAVE_CONFIG_H
     9   #include <config.h>
     10#else
     11#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
    714
    815#include <cmath>
     
    1623}
    1724
    18 #ifdef _HAVE_ADOLC_
     25#if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
    1926template <> int xIsNan<adouble> (const adouble& X);
    2027#endif
  • issm/trunk-jpl/src/c/shared/Numerics/recast.h

    r12546 r13767  
    99#define _RECAST_H_
    1010
    11 #ifndef _HAVE_ADOLC_
     11#ifdef HAVE_CONFIG_H
     12   #include <config.h>
     13#else
     14#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     15#endif
     16
     17#if !defined(_HAVE_ADOLC_) || defined(_WRAPPERS_)
    1218
    1319template<class To, class From>
Note: See TracChangeset for help on using the changeset viewer.