mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-04 15:05:36 +00:00
27 lines
399 B
C++
27 lines
399 B
C++
//
|
|
// ForceInline.h
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 01/08/2017.
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef ForceInline_hpp
|
|
#define ForceInline_hpp
|
|
|
|
#ifdef DEBUG
|
|
|
|
#define forceinline
|
|
|
|
#else
|
|
|
|
#ifdef __GNUC__
|
|
#define forceinline __attribute__((always_inline)) inline
|
|
#elif _MSC_VER
|
|
#define forceinline __forceinline
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif /* ForceInline_h */
|