зеркало из https://github.com/mozilla/pjs.git
Fixing bustage ... MSVC can't handle the array size template.
This commit is contained in:
Родитель
b918ff2690
Коммит
8b216481c1
|
@ -53,7 +53,9 @@
|
|||
|
||||
// If some platform(s) can't handle our template that matches literal strings,
|
||||
// then we'll disable it on those platforms.
|
||||
// #define NS_DISABLE_LITERAL_TEMPLATE
|
||||
#if !defined(NS_DISABLE_LITERAL_TEMPLATE) && defined(_MSC_VER)
|
||||
#define NS_DISABLE_LITERAL_TEMPLATE
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -47,7 +47,9 @@
|
|||
|
||||
// If some platform(s) can't handle our template that matches literal strings,
|
||||
// then we'll disable it on those platforms.
|
||||
// #define NS_DISABLE_LITERAL_TEMPLATE
|
||||
#if !defined(NS_DISABLE_LITERAL_TEMPLATE) && defined(_MSC_VER)
|
||||
#define NS_DISABLE_LITERAL_TEMPLATE
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче