ncl/ncl-5.0.0-triangle.patch
2008-02-28 22:11:41 +00:00

14 lines
510 B
Diff

--- ncl_ncarg-5.0.0/ni/src/lib/hlu/CnTriMeshRenderer.c.orig 2007-11-13 15:00:42.000000000 -0700
+++ ncl_ncarg-5.0.0/ni/src/lib/hlu/CnTriMeshRenderer.c 2007-11-13 15:01:05.000000000 -0700
@@ -30,8 +30,10 @@
#include <ncarg/hlu/CurvilinearTransObj.h>
#include <ncarg/hlu/SphericalTransObj.h>
#include <ncarg/hlu/TriMeshTransObj.h>
+#ifdef BuildTRIANGLE
#define REAL double
#include <ncarg/hlu/triangle.h>
+#endif
#define Oset(field) \
NhlOffset(NhlCnTriMeshRendererLayerRec,cntrimeshrenderer.field)