2017-08-02 02:04:58 +00:00
|
|
|
//
|
|
|
|
// ForceInline.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 01/08/2017.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-08-02 02:04:58 +00:00
|
|
|
//
|
|
|
|
|
2024-01-17 04:34:46 +00:00
|
|
|
#pragma once
|
2017-08-02 02:04:58 +00:00
|
|
|
|
2019-10-27 02:43:25 +00:00
|
|
|
#ifndef NDEBUG
|
2017-08-22 02:04:15 +00:00
|
|
|
|
2019-10-27 02:43:25 +00:00
|
|
|
#define forceinline inline
|
2017-08-22 02:04:15 +00:00
|
|
|
|
|
|
|
#else
|
2017-08-22 01:56:42 +00:00
|
|
|
|
2017-08-02 02:04:58 +00:00
|
|
|
#ifdef __GNUC__
|
|
|
|
#define forceinline __attribute__((always_inline)) inline
|
|
|
|
#elif _MSC_VER
|
|
|
|
#define forceinline __forceinline
|
|
|
|
#endif
|
|
|
|
|
2017-08-22 02:04:15 +00:00
|
|
|
#endif
|