changeset 20517:54eec9c180cb

* mex.h: Don't typdef bool if it is already defined.
author John W. Eaton <jwe@octave.org>
date Fri, 04 Sep 2015 16:26:58 -0400
parents fb6fe9b45c41
children c8ec0b72b7a6
files libinterp/corefcn/mex.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/mex.h	Fri Sep 04 13:12:57 2015 -0700
+++ b/libinterp/corefcn/mex.h	Fri Sep 04 16:26:58 2015 -0400
@@ -52,7 +52,7 @@
 
 typedef void mxArray;
 
-#if ! defined (__cplusplus)
+#if ! defined (__cplusplus) && ! defined (bool)
 typedef int bool;
 #endif