Skip to content

Commit 05ab8ba

Browse files
authored
Added clang inline helper (#30990)
1 parent 4f0568e commit 05ab8ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/_libs/src/inline_helper.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ The full license is in the LICENSE file, distributed with this software.
1111
#define PANDAS__LIBS_SRC_INLINE_HELPER_H_
1212

1313
#ifndef PANDAS_INLINE
14-
#if defined(__GNUC__)
14+
#if defined(__clang__)
15+
#define PANDAS_INLINE static __inline__ __attribute__ ((__unused__))
16+
#elif defined(__GNUC__)
1517
#define PANDAS_INLINE static __inline__
1618
#elif defined(_MSC_VER)
1719
#define PANDAS_INLINE static __inline

0 commit comments

Comments
 (0)