do not touch inline definition under C++ - added issue #1 in SF bug 1342

This commit is contained in:
Stanislav Shwartsman 2013-10-17 19:22:16 +00:00
parent 05412afa18
commit 7790e994eb

View File

@ -567,12 +567,16 @@ typedef
#define HAVE_SIGACTION 1
#ifndef __cplusplus
// configure will change the definition of "inline" to the value
// that the C compiler allows. It tests the following keywords to
// see if any is permitted: inline, __inline__, __inline. If none
// is permitted, it defines inline to be empty.
#define inline inline
#endif
// Use BX_CPP_INLINE for all C++ inline functions. Note that the
// word "inline" itself may now be redefined by the above #define.
#define BX_CPP_INLINE inline