Changeset 12056


Ignore:
Timestamp:
04/18/12 16:13:44 (13 years ago)
Author:
seroussi
Message:

fixed compilation on pleiades

Location:
issm/trunk-jpl/src/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/Makefile.am

    r12051 r12056  
    924924libISSMCore_a_CXXFLAGS = $(ALLCXXFLAGS)
    925925
     926if MODULES
    926927libISSMModules_a_SOURCES = $(module_sources)
    927928libISSMModules_a_SOURCES += $(bamg_sources)
    928929libISSMModules_a_SOURCES += $(kml_sources)
    929930libISSMModules_a_CXXFLAGS = $(ALLCXXFLAGS)
     931endif
    930932
    931933if PYTHON
  • issm/trunk-jpl/src/c/modules/TriMeshx/TriMeshx.cpp

    r11944 r12056  
    1010#include "../../toolkits/toolkits.h"
    1111#include "../../EnumDefinitions/EnumDefinitions.h"
     12/*ANSI_DECLARATORS needed to call triangle library: */
     13#ifndef ANSI_DECLARATORS
     14#define ANSI_DECLARATORS
     15#include "triangle.h"
     16#undef ANSI_DECLARATORS
     17#else
     18#include "triangle.h"
     19#endif
    1220/*}}}*/
    1321
  • issm/trunk-jpl/src/c/modules/TriMeshx/TriMeshx.h

    r11880 r12056  
    55#ifndef _TRIMESHX_H_
    66#define _TRIMESHX_H_
    7 
    8 
    9 
    10 /*ANSI_DECLARATORS needed to call triangle library: */
    11 #ifndef ANSI_DECLARATORS
    12 #define ANSI_DECLARATORS
    13 #include "triangle.h"
    14 #undef ANSI_DECLARATORS
    15 #else
    16 #include "triangle.h"
    17 #endif
    187
    198#include "string.h"
Note: See TracChangeset for help on using the changeset viewer.