Senet Packet API

Files at this revision

API Documentation at this revision

Comitter:
shaunkrnelson
Date:
Mon Jul 24 13:39:35 2017 -0400
Parent:
1:c4435fed9eb9
Commit message:
To enable assert define ASSERT_IS_ENABLED

Changed in this revision

senet_packet.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/senet_packet.cpp	Mon Mar 07 12:08:34 2016 -0500
+++ b/senet_packet.cpp	Mon Jul 24 13:39:35 2017 -0400
@@ -14,10 +14,14 @@
  * =====================================================================================
  */
 #include "senet_packet.h"
-#include <assert.h>
 #include <stdio.h>
 
+#ifdef ASSERT_IS_DEFINED
+#include <assert.h>
 #define ASSERT(_expr) assert(_expr)
+#else
+#define ASSERT(_expr) 
+#endif
 
 
 int32_t SenetPacket::