We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d47c5f commit e5086f9Copy full SHA for e5086f9
runtime/platform/globals.h
@@ -15,6 +15,14 @@
15
#define FALL_THROUGH ((void)0)
16
#endif
17
18
+#if defined(GOOGLE3)
19
+// google3 builds use NDEBUG to indicate non-debug builds which is different
20
+// from the way the Dart project expects it: DEBUG indicating a debug build.
21
+#if !defined(NDEBUG) && !defined(DEBUG)
22
+#define DEBUG
23
+#endif // !NDEBUG && !DEBUG
24
+#endif // GOOGLE3
25
+
26
// __STDC_FORMAT_MACROS has to be defined before including <inttypes.h> to
27
// enable platform independent printf format specifiers.
28
#ifndef __STDC_FORMAT_MACROS
0 commit comments