1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 01:31:42 +00:00
CLK/ClockReceiver/ForceInline.hpp
2024-01-16 23:34:46 -05:00

24 lines
345 B
C++

//
// ForceInline.h
// Clock Signal
//
// Created by Thomas Harte on 01/08/2017.
// Copyright 2017 Thomas Harte. All rights reserved.
//
#pragma once
#ifndef NDEBUG
#define forceinline inline
#else
#ifdef __GNUC__
#define forceinline __attribute__((always_inline)) inline
#elif _MSC_VER
#define forceinline __forceinline
#endif
#endif