ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VP_SDK / VP_Os / vp_os_assert.h
diff --git a/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/VP_Os/vp_os_assert.h b/mardrone/ARDrone_SDK_Version_1_8_20110726/ARDroneLib/VP_SDK/VP_Os/vp_os_assert.h
new file mode 100644 (file)
index 0000000..813b35e
--- /dev/null
@@ -0,0 +1,21 @@
+/**
+ * @file assert.h
+ * @author aurelien.morelle@parrot.fr
+ * @date 2006/12/27
+ */
+
+#ifndef _ASSERT_INCLUDE_OS_
+#define _ASSERT_INCLUDE_OS_
+
+
+#include <assert.h>
+
+#ifdef DEBUG_MODE
+# define VP_OS_ASSERT(expr) assert(expr)
+#else // ! DEBUG_MODE
+# define VP_OS_ASSERT(expr) ((void)0)
+#endif // <- DEBUG_MODE
+
+
+#endif // ! _ASSERT_INCLUDE_OS_
+