wxmac: include cf-private
Fixes build failure because CoreFoundation doesn't include CFURLGetFSRef anymore. clang++ -mmacosx-version-min=10.7 -c -o basedll_filefn.o -D__WXOSX_COCOA__ -DWXBUILDING -I./src/regex -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -D_FILE_OFFSET_BITS=64 -I/private/tmp/nix-build-wxmac-3.0.2.drv-0/wxWidgets-3.0.2/lib/wx/include/osx_cocoa-unicode-3.0 -I./include -O2 -fno-strict-aliasing -fno-common ./src/common/filefn.cpp ./src/common/filefn.cpp:849:18: error: use of undeclared identifier 'CFURLCreateFromFSRef' fullURLRef = CFURLCreateFromFSRef(NULL, fsRef); ^ ./src/common/filefn.cpp:875:14: error: use of undeclared identifier 'CFURLGetFSRef' if ( CFURLGetFSRef(url, fsRef) == false )
parent
0fcd2ca7
Please register or sign in to comment