Skip to content

Commit

Permalink
MACOSX/i386: Remove nullptr_t workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 authored and lephilousophe committed Mar 9, 2021
1 parent a8d9b24 commit 77dc32b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions toolchains/macosx-i386/Dockerfile.m4
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ m4_include(`macosx.m4')m4_dnl
# So far it worked but several fixes are now needed
# glew needs cstdint
COPY cstdint ${TARGET_DIR}/SDK/MacOSX`'MACOSX_SDK_VERSION`'.sdk/usr/include/c++/4.2.1/cstdint
# nullptr_t is needed in libstdc++
RUN sed -i -e '/_GLIBCXX_BEGIN_NAMESPACE(std)/a typedef decltype(nullptr) nullptr_t;' ${TARGET_DIR}/SDK/MacOSX`'MACOSX_SDK_VERSION`'.sdk/usr/include/c++/4.2.1/cstddef

0 comments on commit 77dc32b

Please sign in to comment.