We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41ff78f commit c1b347dCopy full SHA for c1b347d
CMakeLists.txt
@@ -114,6 +114,7 @@ else()
114
set(X86 OFF)
115
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)$")
116
set(Architecture "arm64")
117
+ add_definitions(-DPNG_ARM_NEON_OPT=0)
118
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
119
set(Architecture "arm")
120
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$")
lib/zlib/gzguts.h
@@ -3,6 +3,10 @@
3
* For conditions of distribution and use, see copyright notice in zlib.h
4
*/
5
6
+#if defined(__APPLE__)
7
+# include <unistd.h>
8
+#endif
9
+
10
#ifdef _LARGEFILE64_SOURCE
11
# ifndef _LARGEFILE_SOURCE
12
# define _LARGEFILE_SOURCE 1
0 commit comments