From b7bce3f66d6014122e0e712d918b45c08259d51e Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Tue, 26 Aug 2014 12:15:01 +0000 Subject: [PATCH] Fix errors in MATLAB compiling on Windows. Fixes Issue 85. --- src/matlab/ctmatutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matlab/ctmatutils.h b/src/matlab/ctmatutils.h index ae247a6c4..847e5defe 100644 --- a/src/matlab/ctmatutils.h +++ b/src/matlab/ctmatutils.h @@ -9,8 +9,8 @@ const double Undef = -999.123; // Workaround for VS2010 and Matlab 2010a. // mex.h must be included after or another include from // the standard library which includes . -#if (_MSC_VER >= 1600) && defined(_CHAR16T) -#define CHAR16_T char16_t +#if (_MSC_VER >= 1600) +#define __STDC_UTF_16__ #endif #include "mex.h"