Bug 347170 nsAString.h and nsSubstring.h should use && instead of &
jst: review+ darin: superreview+ git-svn-id: svn://10.0.0.236/trunk@206550 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
85b37a6057
commit
cfde3452d5
@ -56,7 +56,7 @@
|
||||
// If some platform(s) can't handle our template that matches literal strings,
|
||||
// then we'll disable it on those platforms.
|
||||
#ifndef NS_DISABLE_LITERAL_TEMPLATE
|
||||
# if (defined(_MSC_VER) && (_MSC_VER < 1310)) || (defined(__SUNPRO_CC) & (__SUNPRO_CC < 0x560)) || (defined(__HP_aCC) && (__HP_aCC <= 012100))
|
||||
# if (defined(_MSC_VER) && (_MSC_VER < 1310)) || (defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x560)) || (defined(__HP_aCC) && (__HP_aCC <= 012100))
|
||||
# define NS_DISABLE_LITERAL_TEMPLATE
|
||||
# endif
|
||||
#endif /* !NS_DISABLE_LITERAL_TEMPLATE */
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
// If some platform(s) can't handle our template that matches literal strings,
|
||||
// then we'll disable it on those platforms.
|
||||
#ifndef NS_DISABLE_LITERAL_TEMPLATE
|
||||
# if (defined(_MSC_VER) && (_MSC_VER < 1310)) || (defined(__SUNPRO_CC) & (__SUNPRO_CC < 0x560)) || (defined(__HP_aCC) && (__HP_aCC <= 012100))
|
||||
# if (defined(_MSC_VER) && (_MSC_VER < 1310)) || (defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x560)) || (defined(__HP_aCC) && (__HP_aCC <= 012100))
|
||||
# define NS_DISABLE_LITERAL_TEMPLATE
|
||||
# endif
|
||||
#endif /* !NS_DISABLE_LITERAL_TEMPLATE */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user