Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2021-03-11 00:36:56 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2021-03-11 00:36:56 +0300
commitbe9218f4d1f7529fbe85d15c58f6fe78161909b3 (patch)
tree26bd36fae43d201ca9701bb3982635d162dc0e83
parent14ac6d4f0b8b8f1230633d2679ef12ccd9ba370f (diff)
Don't include mono-dtrace.h when generating offsetsmono-6.12.0.129
offsets-tool can run before mono-dtrace.h is generated which leads to a compiler error about the file missing.
-rw-r--r--mono/utils/dtrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/utils/dtrace.h b/mono/utils/dtrace.h
index 540f2588a8b..bd3062530ff 100644
--- a/mono/utils/dtrace.h
+++ b/mono/utils/dtrace.h
@@ -10,7 +10,7 @@
#ifndef __UTILS_DTRACE_H__
#define __UTILS_DTRACE_H__
-#ifdef ENABLE_DTRACE
+#if defined(ENABLE_DTRACE) && !defined(MONO_GENERATING_OFFSETS)
#include <mono/utils/mono-dtrace.h>