Added:
#ifdef _WIN32
#include <malloc.h>
#endif
and changed:
PluginCodec_GenericParameter_ShortMin,
to:
PluginCodec_GenericParameter_unsignedMin,
for plugin branch compatiblity. PluginCodec_GenericParameter_ShortMin was not defined.
It now complies on MacOS X.
patch for above (diff -u 5)