security: Fix wrong condition in SecPublicInfoSqlite3
Change-Id: I6604de755c82462bcd50da4cb4bb89a37f506dc4
diff --git a/src/security/sec-public-info-sqlite3.cpp b/src/security/sec-public-info-sqlite3.cpp
index b2315c6..bc16d9d 100644
--- a/src/security/sec-public-info-sqlite3.cpp
+++ b/src/security/sec-public-info-sqlite3.cpp
@@ -97,8 +97,8 @@
/// @todo Add define for windows/unix in wscript. The following may completely fail on windows
int res = sqlite3_open_v2((identityDir / "ndnsec-public-info.db").c_str(), &m_database,
SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,
-#ifdef DISABLE_SQLITE3_FS_LOCKING
- "unix-dotfile"
+#ifdef NDN_CPP_DISABLE_SQLITE3_FS_LOCKING
+ "unix-dotfile"
#else
0
#endif