Put noinline macro in header
This commit is contained in:
parent
520962162c
commit
61d536bc02
@ -21,6 +21,12 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define CPPTRACE_FORCE_NO_INLINE __declspec(noinline)
|
||||||
|
#else
|
||||||
|
#define CPPTRACE_FORCE_NO_INLINE __attribute__((noinline))
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace cpptrace {
|
namespace cpptrace {
|
||||||
struct object_trace;
|
struct object_trace;
|
||||||
struct stacktrace;
|
struct stacktrace;
|
||||||
|
|||||||
@ -1,12 +1,6 @@
|
|||||||
#ifndef COMMON_HPP
|
#ifndef COMMON_HPP
|
||||||
#define COMMON_HPP
|
#define COMMON_HPP
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#define CPPTRACE_FORCE_NO_INLINE __declspec(noinline)
|
|
||||||
#else
|
|
||||||
#define CPPTRACE_FORCE_NO_INLINE __attribute__((noinline))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define IS_WINDOWS 0
|
#define IS_WINDOWS 0
|
||||||
#define IS_LINUX 0
|
#define IS_LINUX 0
|
||||||
#define IS_APPLE 0
|
#define IS_APPLE 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user