[VM] - Fix typo that is causing gcc compiles to fail with 'error:
multi-line comment'
TEST=existing tests.
Change-Id: I0ac760cb238040b1b15f2a4ceca4cde0eaddcd82
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202728
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h
index 52201dc..cc8eec1 100644
--- a/runtime/platform/globals.h
+++ b/runtime/platform/globals.h
@@ -15,19 +15,17 @@
#define FALL_THROUGH ((void)0)
#endif
+#if !defined(NDEBUG) && !defined(DEBUG)
#if defined(GOOGLE3)
// google3 builds use NDEBUG to indicate non-debug builds which is different
// from the way the Dart project expects it: DEBUG indicating a debug build.
-#if !defined(NDEBUG) && !defined(DEBUG)
#define DEBUG
-#endif // !NDEBUG && !DEBUG \
#else
// Since <cassert> uses NDEBUG to signify that assert() macros should be turned
// off, we'll define it when DEBUG is _not_ set.
-#if !defined(DEBUG)
#define NDEBUG
-#endif
#endif // GOOGLE3
+#endif // !NDEBUG && !DEBUG
// __STDC_FORMAT_MACROS has to be defined before including <inttypes.h> to
// enable platform independent printf format specifiers.