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