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 6849667 commit 7ae002cCopy full SHA for 7ae002c
jdk/make/lib/CoreLibraries.gmk
@@ -1,5 +1,5 @@
1
#
2
-# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
5
# This code is free software; you can redistribute it and/or modify it
@@ -266,6 +266,9 @@ ifeq ($(USE_EXTERNAL_LIBZ), true)
266
LIBZIP_EXCLUDES += zlib
267
else
268
ZLIB_CPPFLAGS := -I$(JDK_TOPDIR)/src/share/native/java/util/zip/zlib
269
+ ifeq ($(OPENJDK_TARGET_OS), macosx)
270
+ ZLIB_CPPFLAGS += -DHAVE_UNISTD_H
271
+ endif
272
endif
273
274
BUILD_LIBZIP_REORDER :=
0 commit comments