diff liboctave/util/oct-inttypes.h @ 21354:06d15e4e611a

move public data type macros to octave-config.h * configure.ac: Define OCTAVE_HAVE_LONG_LONG_INT, OCTAVE_HAVE_UNSIGNED_LONG_LONG_INT, and OCTAVE_HAVE_OVERLOAD_CHAR_INT8_TYPES. * mk-oct-config-h.sh: Extract them from config.h. * oct-stream.cc, ov.cc, ov.h, Array-i.cc, data-conv.cc, oct-inttypes.h, acinclude.m4: Use new macro names.
author John W. Eaton <jwe@octave.org>
date Thu, 25 Feb 2016 17:34:14 -0500
parents c53bfd6d8e08
children ae4d7dfea337
line wrap: on
line diff
--- a/liboctave/util/oct-inttypes.h	Thu Feb 25 16:15:04 2016 -0500
+++ b/liboctave/util/oct-inttypes.h	Thu Feb 25 17:34:14 2016 -0500
@@ -845,7 +845,7 @@
 
   octave_int (T i) : ival (i) { }
 
-#if defined (HAVE_OVERLOAD_CHAR_INT8_TYPES)
+#if defined (OCTAVE_HAVE_OVERLOAD_CHAR_INT8_TYPES)
   // Always treat characters as unsigned.
   octave_int (char c)
     : ival (octave_int_base<T>::truncate_int (static_cast<unsigned char> (c)))