summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-09-22 14:22:41 -0700
committerGarrett D'Amore <garrett@damore.org>2019-09-22 14:22:41 -0700
commitab3c575b961b3047591097a2b62b8255df48d731 (patch)
tree8b3549053b5ec75be97ebfc48082bde331aa5a6a
parent72dddb474e67cfd167012a8368b3bdbe9615497e (diff)
downloadnng-ab3c575b961b3047591097a2b62b8255df48d731.tar.gz
nng-ab3c575b961b3047591097a2b62b8255df48d731.tar.bz2
nng-ab3c575b961b3047591097a2b62b8255df48d731.zip
fixes #989 Errors when compiling for iOS platform
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)