Skip to content

Commit 89e4dd4

Browse files
authored
Forward fix for apple event tracer header import
Differential Revision: D118228908 Pull Request resolved: pytorch#22393
1 parent e3a53ea commit 89e4dd4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎extension/apple/ExecuTorch/Internal/ExecuTorchEventTracer+Internal.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
#if __has_include(<ExecuTorch/ExecuTorchEventTracer.h>)
10+
#import <ExecuTorch/ExecuTorchEventTracer.h>
11+
#else
912
#import "ExecuTorchEventTracer.h"
13+
#endif
1014

1115
#ifdef __cplusplus
1216

0 commit comments

Comments
 (0)