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