#39122: zmq @3.2.3 test error: ‘strndup’ was not declared in this scope -----------------------+---------------------- Reporter: deesto@… | Owner: merijn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: zmq | -----------------------+---------------------- Changes (by larryv@…): * owner: macports-tickets@… => merijn@… Comment: Replying to [comment:1 egall@…]:
Hm, your system ''should'' have a `strndup` function...
OS X didn’t have `strndup` until 10.7. 10.6.8: http://www.opensource.apple.com/source/Libc/Libc-594.9.5/include/string.h\\ 10.7.0: http://www.opensource.apple.com/source/Libc/Libc-763.11/include/string.h -- Ticket URL: <https://trac.macports.org/ticket/39122#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X