2
0

Fix support for building without MPW_JSON enabled.

This commit is contained in:
Maarten Billemont
2017-09-06 00:32:50 -04:00
parent 4f552be5a9
commit 30fdb54e94
2 changed files with 8 additions and 0 deletions

View File

@@ -33,7 +33,11 @@ typedef mpw_enum( unsigned int, MPMarshallFormat ) {
/** Generate a name for identification. */
MPMarshallFormatJSON,
#if MPW_JSON
MPMarshallFormatDefault = MPMarshallFormatJSON,
#else
MPMarshallFormatDefault = MPMarshallFormatFlat,
#endif
};
typedef mpw_enum( unsigned int, MPMarshallErrorType ) {