Debian Codegraph @

3rdparty/rplidar_sdk/sdk/src/hal/assert.h

raw symbols SCIP
1 #ifndef _INFRA_HAL_ASSERT_H
2 #define _INFRA_HAL_ASSERT_H
3
4 #ifdef WIN32
5 #include <crtdbg.h>
6 #ifndef assert
7 #define assert(x) _ASSERT(x)
8 #endif
9 #elif defined(_AVR_)
10 #define assert(x)
11 #elif defined(__GNUC__)
12 #ifndef assert
13 #define assert(x)
14 #endif
15 #else
16 #error assert.h cannot identify your platform
17 #endif
18 #endif