EJDB is an embedded schemaless database library, with a number of features inspired by MongoDB. Build notes for EJDB on Solaris NOTE: most of these fixes have been contributed to the EJDB project. As a result, this page is mostly historical. Note, though, that the gcc version 3.4.2 supplied with Solaris 10 contains buggy header files, and thus should be upgraded to 3.4.3 or higher. Failure to upgrade will result in an inability to build EJDB. There are a few "linuxisms" in this library that need to be worked around. This should contain the complete list of things needed to get EJDB to build and install on Solaris/OpenIndiana.
// These are defined in a really funky place in Solaris. #ifndef MIN #define MIN(a, b) ((a) < (b) ? (a) : (b)) #endif #ifndef MAX #define MAX(a, b) ((a) > (b) ? (a) : (b)) #endif