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.
2 parents 02558cc + a74256f commit e57be0dCopy full SHA for e57be0d
tools/Makefile
@@ -165,6 +165,11 @@ sph2pipe_v$(SPH2PIPE_VERSION)/Makefile: sph2pipe-$(SPH2PIPE_VERSION).tar.gz
165
rm -rf sph2pipe_v*
166
tar -xmzf sph2pipe-$(SPH2PIPE_VERSION).tar.gz
167
mv sph2pipe-$(SPH2PIPE_VERSION) sph2pipe_v$(SPH2PIPE_VERSION)
168
+ # Workaround for macOS bug <rdar://problem/19363342>
169
+ if [ `uname` = "Darwin" ]; then \
170
+ sed -i -e "s/#define _XOPEN_SOURCE 500/#define _XOPEN_SOURCE 600/g" sph2pipe_v$(SPH2PIPE_VERSION)/sph2pipe.c ; \
171
+ sed -i -e "s/#define _XOPEN_SOURCE 500/#define _XOPEN_SOURCE 600/g" sph2pipe_v$(SPH2PIPE_VERSION)/file_headers.c ; \
172
+ fi
173
174
sph2pipe-$(SPH2PIPE_VERSION).tar.gz:
175
if [ -d "$(DOWNLOAD_DIR)" ]; then \
0 commit comments