static_assert macro fix 14/29314/2
authorOleksandr Dmytrenko <o.dmytrenko@samsung.com>
Fri, 1 Mar 2019 11:59:42 +0000 (13:59 +0200)
committerAleksey Volkov <a.volkov@samsung.com>
Mon, 11 Mar 2019 09:25:08 +0000 (09:25 +0000)
for gcc 4 that macro does not working

Change-Id: I8761605963ae016a83db3df00378f93c4e971753
Signed-off-by: Oleksandr Dmytrenko <o.dmytrenko@samsung.com>
resource/csdk/security/provisioning/src/provisioningdatabasemanager.c

index 1fbe6c0..d52f276 100644 (file)
@@ -61,7 +61,7 @@
 #define PDM_SQLITE_TRANSACTION_ROLLBACK "ROLLBACK;"
 
 #ifdef __GNUC__
-#if ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 6))
+#if ((__GNUC__ > 4) && (__GNUC_MINOR__ >= 6))
 #define static_assert(value, message) _Static_assert((value) ? 1 : 0, message)
 #else
 #define static_assert(value, message)