changeset 21228:77a622392714

define OCTAVE_EMPTY_CPP_ARG just prior to only use * ov-base.h (OCTAVE_EMPTY_CPP_ARG): Move definition here. * oct-conf-post.in.h: From here.
author John W. Eaton <jwe@octave.org>
date Mon, 08 Feb 2016 20:45:26 -0500
parents 25150962bfd3
children a83e7a384ee0
files libinterp/octave-value/ov-base.h oct-conf-post.in.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base.h	Mon Feb 08 20:40:55 2016 -0500
+++ b/libinterp/octave-value/ov-base.h	Mon Feb 08 20:45:26 2016 -0500
@@ -139,6 +139,8 @@
 // T_ID is the type id of struct objects, set by register_type().
 // T_NAME is the type name of struct objects.
 
+#define OCTAVE_EMPTY_CPP_ARG /* empty */
+
 #define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA \
   DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA2 (OCTAVE_EMPTY_CPP_ARG)
 
--- a/oct-conf-post.in.h	Mon Feb 08 20:40:55 2016 -0500
+++ b/oct-conf-post.in.h	Mon Feb 08 20:45:26 2016 -0500
@@ -117,8 +117,6 @@
 #  endif
 #endif
 
-#define OCTAVE_EMPTY_CPP_ARG
-
 /* oct-dlldefs.h */
 
 /* FIXME: GCC supports visibility attributes as well, even using the