From ab3c575b961b3047591097a2b62b8255df48d731 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 22 Sep 2019 14:22:41 -0700 Subject: fixes #989 Errors when compiling for iOS platform --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index fca3e7ed..f5f3220b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,7 +273,7 @@ else () message (AUTHOR_WARNING "WARNING: This platform may not be supported: ${CMAKE_SYSTEM_NAME}") message (AUTHOR_WARNING "${ISSUE_REPORT_MSG}") # blithely hope for POSIX to work - add_definitions (-DPLATFORM_POSIX) + add_definitions (-DNNG_PLATFORM_POSIX) endif () macro (nng_check_func SYM DEF) -- cgit v1.2.3-70-g09d2