From: Kvetoslav Belda Date: Fri, 18 Apr 2014 11:50:08 +0000 (+0200) Subject: Local definition of TRUE/FALSE is required for R2014a Simulink version. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/ert_linux.git/commitdiff_plain/b04ac89e497f8fd56d9d6715be530000ee10499e Local definition of TRUE/FALSE is required for R2014a Simulink version. --- diff --git a/ert_linux/ert_linux_main.tlc b/ert_linux/ert_linux_main.tlc index 1b70a0d..7b7e966 100644 --- a/ert_linux/ert_linux_main.tlc +++ b/ert_linux/ert_linux_main.tlc @@ -29,6 +29,7 @@ #include /* Semaphores library header file */ #include #include + #include #include #include /* For mlockall() */ #include "%.h" /* Model's header file */ @@ -37,6 +38,11 @@ #include "ext_work.h" /* External mode header file */ %endif + #ifndef TRUE + #define TRUE true + #define FALSE false + #endif + /*==================* * Required defines * *==================*/