Commit d08723fb authored by Alexandre Julliard's avatar Alexandre Julliard

include: Add DECLSPEC_NOINLINE macro.

parent 50dfe977
...@@ -155,6 +155,16 @@ extern "C" { ...@@ -155,6 +155,16 @@ extern "C" {
# endif # endif
#endif #endif
#ifndef DECLSPEC_NOINLINE
# if defined(_MSC_VER) && (_MSC_VER >= 1300)
# define DECLSPEC_NOINLINE __declspec(noinline)
# elif defined(__GNUC__)
# define DECLSPEC_NOINLINE __attribute__((noinline))
# else
# define DECLSPEC_NOINLINE
# endif
#endif
#ifndef DECLSPEC_DEPRECATED #ifndef DECLSPEC_DEPRECATED
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS) # if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
# define DECLSPEC_DEPRECATED __declspec(deprecated) # define DECLSPEC_DEPRECATED __declspec(deprecated)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment