Commit 91f4645f authored by Ghislain MARY's avatar Ghislain MARY

Fix build on Windows.

parent 4bebece8
...@@ -72,11 +72,7 @@ typedef pthread_cond_t bctbx_cond_t; ...@@ -72,11 +72,7 @@ typedef pthread_cond_t bctbx_cond_t;
#endif #endif
#ifndef BCTBX_DEPRECATED #ifndef BCTBX_DEPRECATED
#if defined(_MSC_VER) #define BCTBX_DEPRECATED __attribute__ ((deprecated))
#define BCTBX_DEPRECATED __declspec(deprecated)
#else
#define BCTBX_DEPRECATED __attribute__ ((deprecated))
#endif
#endif #endif
#define BCTBX_PUBLIC #define BCTBX_PUBLIC
...@@ -151,6 +147,10 @@ unsigned long __bctbx_thread_self(void); ...@@ -151,6 +147,10 @@ unsigned long __bctbx_thread_self(void);
#endif #endif
#endif #endif
#ifndef BCTBX_DEPRECATED
#define BCTBX_DEPRECATED __declspec(deprecated)
#endif
#if defined(_WIN32) || defined(_WIN32_WCE) #if defined(_WIN32) || defined(_WIN32_WCE)
#ifdef BCTBX_STATIC #ifdef BCTBX_STATIC
#define BCTBX_PUBLIC #define BCTBX_PUBLIC
......
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