Skip to content

Commit

Permalink
Merge pull request #102 from silx-kit/zlib_patch
Browse files Browse the repository at this point in the history
Patch zlib to allow compilation under MacOS and Python 3.8
  • Loading branch information
t20100 authored Dec 15, 2020
2 parents 41de27b + 5e547d5 commit cb26cff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
BUILD_COMMAND: sdist
H5PY_OLDER_VERSION: 2.9.0

#- name-suffix: "bdist_wheel-h5py_2.9.0"
# os: macos-latest
# python-version: 3.8
# BUILD_COMMAND: bdist_wheel
# H5PY_OLDER_VERSION: 2.9.0
- name-suffix: "bdist_wheel-h5py_2.10.0"
os: macos-latest
python-version: 3.8
BUILD_COMMAND: bdist_wheel
H5PY_OLDER_VERSION: 2.10.0

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
4 changes: 4 additions & 0 deletions src/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/

#ifndef _WIN32
#include <unistd.h>
#endif

#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE 1
Expand Down

0 comments on commit cb26cff

Please sign in to comment.