Commit aeaf643f authored by Benjamin REIS's avatar Benjamin REIS

Add BCTBX_DEPRECATED

parent c0ef01c8
...@@ -71,6 +71,14 @@ typedef pthread_cond_t bctbx_cond_t; ...@@ -71,6 +71,14 @@ typedef pthread_cond_t bctbx_cond_t;
#pragma warning(disable : 1469) // "cc" clobber ignored #pragma warning(disable : 1469) // "cc" clobber ignored
#endif #endif
#ifndef BCTBX_DEPRECATED
#if defined(_MSC_VER)
#define BCTBX_DEPRECATED __declspec(deprecated)
#else
#define BCTBX_DEPRECATED __attribute__ ((deprecated))
#endif
#endif
#define BCTBX_PUBLIC #define BCTBX_PUBLIC
#define BCTBX_INLINE inline #define BCTBX_INLINE inline
#define BCTBX_EWOULDBLOCK EWOULDBLOCK #define BCTBX_EWOULDBLOCK EWOULDBLOCK
......
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