stdassert.h is not standard-compliant. Change this to assert.h
authordaeken.kwon <daeken.kwon@samsung.com>
Fri, 29 Apr 2016 02:00:45 +0000 (11:00 +0900)
committerJon A. Cruz <jon@joncruz.org>
Fri, 29 Apr 2016 07:15:41 +0000 (07:15 +0000)
Change-Id: I7034df1b22b2040815bdc06521921814e5a09998
Signed-off-by: daeken.kwon <daeken.kwon@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7975
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jon@joncruz.org>
resource/c_common/platform_features.h

index 8f39e19..3f712a3 100644 (file)
@@ -35,7 +35,7 @@
 #endif
 
 #if (__STDC_VERSION__ >= 201112L)
-    #include <stdassert.h>
+    #include <assert.h>
     #define OC_STATIC_ASSERT(condition, msg) static_assert(condition, msg)
 #else
     #define OC_STATIC_ASSERT(condition, msg) ((void)sizeof(char[2*!!(condition) - 1]))