2017-08-01 22:04:58 -04:00
|
|
|
//
|
|
|
|
// ForceInline.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 01/08/2017.
|
|
|
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2017-08-20 11:54:54 -04:00
|
|
|
#ifndef ForceInline_hpp
|
|
|
|
#define ForceInline_hpp
|
2017-08-01 22:04:58 -04:00
|
|
|
|
2017-08-21 22:04:15 -04:00
|
|
|
#ifdef DEBUG
|
|
|
|
|
|
|
|
#define forceinline
|
|
|
|
|
|
|
|
#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
|
2017-08-21 21:56:42 -04:00
|
|
|
|
2017-08-01 22:04:58 -04:00
|
|
|
#endif /* ForceInline_h */
|