Fix errors in MATLAB compiling on Windows. Fixes Issue 85.

This commit is contained in:
Bryan W. Weber 2014-08-26 12:15:01 +00:00
parent 71cabc86ef
commit b7bce3f66d

View file

@ -9,8 +9,8 @@ const double Undef = -999.123;
// Workaround for VS2010 and Matlab 2010a.
// mex.h must be included after <string> or another include from
// the standard library which includes <yvals.h>.
#if (_MSC_VER >= 1600) && defined(_CHAR16T)
#define CHAR16_T char16_t
#if (_MSC_VER >= 1600)
#define __STDC_UTF_16__
#endif
#include "mex.h"