diff options
author | Mihai Moldovan <ionic@ionic.de> | 2015-02-09 15:41:35 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-09 15:42:21 +0100 |
commit | 9054786947b2f6b82078f6e5f965c3b0b629c880 (patch) | |
tree | 173e82157d5a61d61dcf70d5358fa2fe79108be4 /nx-X11/lib/GL/mesa/shader | |
parent | 6101bd9564d6334dea7c0de778536e3fe1a5e9b9 (diff) | |
download | nx-libs-9054786947b2f6b82078f6e5f965c3b0b629c880.tar.gz nx-libs-9054786947b2f6b82078f6e5f965c3b0b629c880.tar.bz2 nx-libs-9054786947b2f6b82078f6e5f965c3b0b629c880.zip |
workaround for Mac OS X 10.5 (051_nxcomp_macos105-fdisset.full+lite.patch(
The Mac OS X 10.5 SDK requires the second argument of FD_ISSET to be
writeable, although it does only access the data. Given that we have a
const pointer for a const struct, copy and pass that.
.
Note that this is merely a workaround for OS X 10.5, as 10.6 and later
define the second argument of FD_ISSET as const struct const *foo, too.
.
It is safe, as data is accessed read-only by FD_ISSET, even on 10.5.
Diffstat (limited to 'nx-X11/lib/GL/mesa/shader')
0 files changed, 0 insertions, 0 deletions