Skip to content

Commit

Permalink
Added clang inline helper (#30990)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd authored Feb 16, 2020
1 parent 4f0568e commit 05ab8ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandas/_libs/src/inline_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ The full license is in the LICENSE file, distributed with this software.
#define PANDAS__LIBS_SRC_INLINE_HELPER_H_

#ifndef PANDAS_INLINE
#if defined(__GNUC__)
#if defined(__clang__)
#define PANDAS_INLINE static __inline__ __attribute__ ((__unused__))
#elif defined(__GNUC__)
#define PANDAS_INLINE static __inline__
#elif defined(_MSC_VER)
#define PANDAS_INLINE static __inline
Expand Down

0 comments on commit 05ab8ba

Please sign in to comment.