OS X contains heapsort in stdlib.h which conflicts with heapsort in sort library
- by CryptoQuick
I'm using Ariel Faigon's sort library, found here:
http://www.yendor.com/programming/sort/
I was able to get all my code working on Linux, but unfortunately, when trying to compile with GCC on Mac, its default stdlib.h contains another heapsort, which unfortunately results in a conflicting types error.
Here's the man page for Apple heapsort:…