# HG changeset patch # User Clemens Buchacher # Date 1367678242 -7200 # Sat May 04 16:37:22 2013 +0200 # Node ID 88a1957eba0f515526cde96878d4361c50442d8e # Parent a1f613e5066d4cd442732e1c24ccb38c6154480f do not include C++ header in extern "C" context diff -r a1f613e5066d -r 88a1957eba0f libinterp/interp-core/mexproto.h --- a/libinterp/interp-core/mexproto.h Sat May 04 09:37:28 2013 +0200 +++ b/libinterp/interp-core/mexproto.h Sat May 04 16:37:22 2013 +0200 @@ -49,11 +49,10 @@ #define MEXPROTO_H #if defined (__cplusplus) -#include extern "C" { -#else +#endif + #include -#endif /* The definition of OCTINTERP_API is normally provided by Octave's config.h file. This is provided for the case of mex.h included by