ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VP_SDK / VP_Os / vp_os_assert.h
1 /**
2  * @file assert.h
3  * @author aurelien.morelle@parrot.fr
4  * @date 2006/12/27
5  */
6
7 #ifndef _ASSERT_INCLUDE_OS_
8 #define _ASSERT_INCLUDE_OS_
9
10
11 #include <assert.h>
12
13 #ifdef DEBUG_MODE
14 # define VP_OS_ASSERT(expr) assert(expr)
15 #else // ! DEBUG_MODE
16 # define VP_OS_ASSERT(expr) ((void)0)
17 #endif // <- DEBUG_MODE
18
19
20 #endif // ! _ASSERT_INCLUDE_OS_
21