Don't include mono-dtrace.h when generating offsets

offsets-tool can run before mono-dtrace.h is generated which leads to a compiler error about the file missing.
This commit is contained in:
Alexander Köplinger 2021-03-10 22:36:56 +01:00
Родитель 14ac6d4f0b
Коммит be9218f4d1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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>