File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 33 * LICENSE file in the project root for full license information
44 */
55#include <string.h>
6- #include <assert.h>
76#include <cc.h>
87#include "esc.h"
98#include "esc_coe.h"
109#include "esc_foe.h"
1110
12- static_assert ((MBXSIZE > ESC_MBXHSIZE ) && (MBXSIZEBOOT > ESC_MBXHSIZE ), "Mailbox size too small." );
11+ CC_STATIC_ASSERT ((MBXSIZE > ESC_MBXHSIZE ) && (MBXSIZEBOOT > ESC_MBXHSIZE ), "Mailbox size too small." );
1312
1413/** \file
1514 * \brief
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ extern "C"
1919#ifdef __linux__
2020 #include <endian.h>
2121#else
22- #include <machine/endian.h>
22+ #include <machine/endian.h>
2323#endif
2424
2525#ifndef MIN
@@ -41,7 +41,7 @@ extern "C"
4141#else
4242#define CC_ASSERT (exp ) assert (exp)
4343#endif
44- #define CC_STATIC_ASSERT (exp ) _Static_assert (exp, "" )
44+ #define CC_STATIC_ASSERT (exp , msg ) _Static_assert (exp, msg )
4545
4646#define CC_DEPRECATED __attribute__((deprecated))
4747
You can’t perform that action at this time.
0 commit comments