未验证 提交 313f5d01 编写于 作者: R Rui Li 提交者: GitHub

Fix PD_INFER_DECL redefine (#42731)

Signed-off-by: NKernelErr <me@lirui.tech>
上级 b522ca52
...@@ -23,5 +23,7 @@ ...@@ -23,5 +23,7 @@
#endif // PADDLE_DLL_INFERENCE #endif // PADDLE_DLL_INFERENCE
#endif // PD_INFER_DECL #endif // PD_INFER_DECL
#else #else
#ifndef PD_INFER_DECL
#define PD_INFER_DECL __attribute__((visibility("default"))) #define PD_INFER_DECL __attribute__((visibility("default")))
#endif // PD_INFER_DECL
#endif // _WIN32 #endif // _WIN32
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册