[vm] Use /Zc:preprocessor to get __VA_OPT__ under MSVC.
Needed by irregexp. TEST=ci Change-Id: Ie64ee2869ddbb5bad234aea9b49d140b96fed2be Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/481242 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
Commit Queue
parent
d0eb238f1f
commit
293e84cd5c
@@ -24,13 +24,8 @@
|
||||
DECLARE_FLAG(bool, verbose_debug);
|
||||
|
||||
// 'Trace Debugger' TD_Print.
|
||||
#if defined(_MSC_VER)
|
||||
#define TD_Print(format, ...) \
|
||||
if (FLAG_verbose_debug) Log::Current()->Print(format, __VA_ARGS__)
|
||||
#else
|
||||
#define TD_Print(format, ...) \
|
||||
if (FLAG_verbose_debug) Log::Current()->Print(format, ##__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
namespace dart {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user