From 3d626273769f1aa2b902f551db1aa6859b421900 Mon Sep 17 00:00:00 2001 From: Scott Wolchok Date: Tue, 11 Feb 2025 15:13:40 -0800 Subject: [PATCH] Update [ghstack-poisoned] --- codegen/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/macros.h b/codegen/macros.h index c84b30c2317..ddba56b18d7 100644 --- a/codegen/macros.h +++ b/codegen/macros.h @@ -8,6 +8,6 @@ #pragma once // TODO(T157709949) remove this file -#ifndef USE_ATEN_LIB +#if !defined(USE_ATEN_LIB) && !defined(TORCH_API) #define TORCH_API #endif