diff main/octcdf/src/ov-ncdim.h @ 12565:f22c1e4bc9c5 octave-forge

Fix for compiling with octave 4.0.0-rc1
author abarth93
date Tue, 10 Mar 2015 13:53:33 +0000
parents 7144feee1d35
children
line wrap: on
line diff
--- a/main/octcdf/src/ov-ncdim.h	Tue Feb 24 10:12:25 2015 +0000
+++ b/main/octcdf/src/ov-ncdim.h	Tue Mar 10 13:53:33 2015 +0000
@@ -134,8 +134,9 @@
 private:
   ncdim_t* ncd;
 
-
+#ifdef DEFINE_OCTAVE_ALLOCATOR
   DECLARE_OCTAVE_ALLOCATOR 
+#endif
   DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
 };