# HG changeset patch # User John W. Eaton # Date 1441398418 14400 # Node ID 54eec9c180cb8927785602d6edb5fa0deefca1da # Parent fb6fe9b45c41b420e8b8b02b6c9965430e5808ff * mex.h: Don't typdef bool if it is already defined. diff --git a/libinterp/corefcn/mex.h b/libinterp/corefcn/mex.h --- a/libinterp/corefcn/mex.h +++ b/libinterp/corefcn/mex.h @@ -52,7 +52,7 @@ typedef void mxArray; -#if ! defined (__cplusplus) +#if ! defined (__cplusplus) && ! defined (bool) typedef int bool; #endif