Ticket #332 (closed defect: invalid)
Quick hacks for OSX build
| Reported by: | LouiSe | Owned by: | il.smind@… |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | mc-core | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Branch state: | Votes for changeset: |
Description
I've attached modified source files required to build on Mac OS X platform with XCode. Default OSX C library lacks strndup and strlen functions, please add declarations to platform dependent section...
Hacks in src folder:
- mhl/strndup.c: missing 'strndup' function code
- mhl/strndup.h: missing 'strndup' function include
- mhl/strnlen.c: missing 'strnlen' function code
- mhl/strnlen.h: missing 'strnlen' function include
- mhl/string.h: include of 'strnlen.h' and 'strndup.h'
- vfs/vfs.c: include of 'strnlen.c' and 'strndup.c'
Download working binary for OSX Intel: http://louise.hu/poet/?p=2566
Attachments
Change History
Changed 17 years ago by LouiSe
- Attachment osx-src.tar.gz added
Note: See
TracTickets for help on using
tickets.

Missing function for OSX build