Fix mingw build by using preprocessor correctly.

This commit is contained in:
Ryan Dahl 2011-08-10 14:40:45 -07:00
parent db190c7b4f
commit 5dc8037fcf

View File

@ -36,7 +36,7 @@ typedef struct env_var {
int value_len;
} env_var_t;
#define E_V(str) { ##str"=", L##str, sizeof(##str), 0, 0 }
#define E_V(str) { #str"=", L##str, sizeof(#str), 0, 0 }
#define UTF8_TO_UTF16(s, t) \
size = uv_utf8_to_utf16(s, NULL, 0) * sizeof(wchar_t); \