Skip to content

Commit

Permalink
fix compilation for Visual C++
Browse files Browse the repository at this point in the history
Signed-off-by: hayati ayguen <[email protected]>
  • Loading branch information
hayguen committed Nov 6, 2023
1 parent 213b2bc commit e819516
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/demod.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
#if defined(__GNUC__) || defined(__clang__)
#pragma push_macro("FORCE_INLINE")
#define FORCE_INLINE static inline __attribute__((always_inline))
#elif defined(_MSC_VER)
#define FORCE_INLINE static __forceinline
#else
#error "Macro name collisions may happen with unsupported compiler."
#ifdef FORCE_INLINE
Expand Down

0 comments on commit e819516

Please sign in to comment.