From f9285edb4da51ce9bd938fe7165cf9f29c2d6c1c Mon Sep 17 00:00:00 2001 From: Dominic Go Date: Mon, 16 Dec 2024 10:18:10 +0800 Subject: [PATCH] =?UTF-8?q?=E2=AD=90=EF=B8=8F=20Impl:=20`RNI=5FUTILITIES?= =?UTF-8?q?=5FHEADER`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/Private/RNIHeaderUtils.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ios/Private/RNIHeaderUtils.h diff --git a/ios/Private/RNIHeaderUtils.h b/ios/Private/RNIHeaderUtils.h new file mode 100644 index 0000000..1df1054 --- /dev/null +++ b/ios/Private/RNIHeaderUtils.h @@ -0,0 +1,14 @@ +#pragma once + +/// Based on `PR-#121` by: `coolsoftwaretyler` +/// Link: https://github.com/dominicstop/react-native-ios-context-menu/pull/121 +/// +#if __has_include() + #define RNI_UTILITIES_HEADER(header) + +#elif __has_include() + #define RNI_UTILITIES_HEADER(header) + +#else + #define RNI_UTILITIES_HEADER(header) header +#endif