# HG changeset patch # User Andreas Weber # Date 1355302966 -3600 # Node ID 0dcaf0e68a796c6e705439f7284397b2722d0586 # Parent fafd51a1b0f0fa3bbfe6544de75d0859f0a5b7e7 added "#if defined HAVE_JAVA" in ov.cc for compilation without java diff -r fafd51a1b0f0 -r 0dcaf0e68a79 libinterp/octave-value/ov.cc --- a/libinterp/octave-value/ov.cc Tue Dec 11 14:06:09 2012 -0800 +++ b/libinterp/octave-value/ov.cc Wed Dec 12 10:02:46 2012 +0100 @@ -76,7 +76,9 @@ #include "ov-typeinfo.h" #include "ov-null-mat.h" #include "ov-lazy-idx.h" +#if defined HAVE_JAVA #include "ov-java.h" +#endif #include "defun.h" #include "error.h" @@ -2755,7 +2757,9 @@ octave_null_sq_str::register_type (); octave_lazy_index::register_type (); octave_oncleanup::register_type (); - octave_java::register_type (); + #if defined HAVE_JAVA + octave_java::register_type (); + #endif } DEFUN (sizeof, args, ,