diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-01-26 09:23:13 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-01-26 09:23:13 -0800 |
| commit | e32022c8085fc6b05ed690f9b4b49536d8df13b1 (patch) | |
| tree | 862fa671c3994174ecc40a4d6dc75c520193eee8 | |
| parent | ced5170d6532f427f6750eee274288ceaffe05b5 (diff) | |
| download | nng-e32022c8085fc6b05ed690f9b4b49536d8df13b1.tar.gz nng-e32022c8085fc6b05ed690f9b4b49536d8df13b1.tar.bz2 nng-e32022c8085fc6b05ed690f9b4b49536d8df13b1.zip | |
fixes #223 Double definition of -DNNG_PLATFORM_POSIX for Darwin platform
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5aa87034..f3f39241 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,11 @@ # # Copyright 2017 Garrett D'Amore <garrett@damore.org> -# Copyright 2017 Capitar IT Group BV <info@capitar.com> # Copyright (c) 2012 Martin Sustrik All rights reserved. # Copyright (c) 2013 GoPivotal, Inc. All rights reserved. # Copyright (c) 2015-2016 Jack R. Dunaway. All rights reserved. # Copyright 2016 Franklin "Snaipe" Mathieu <franklinmathieu@gmail.com> -# Copyright 2017 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2018 Capitar IT Group BV <info@capitar.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), @@ -262,7 +262,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux") elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin") add_definitions (-DNNG_PLATFORM_POSIX) - add_definitions (-DNNG_PLATFORM_POSIX) + add_definitions (-DNNG_PLATFORM_DARWIN) # macOS 10.12 and later have getentropy, but the older releases # have ARC4_RANDOM, and that is sufficient to our needs. add_definitions (-DNNG_USE_ARC4_RANDOM) |
