| 47 } |
47 } |
| 48 # define GStatBuf GStatBufW32 |
48 # define GStatBuf GStatBufW32 |
| 49 # define g_stat purple_g_stat |
49 # define g_stat purple_g_stat |
| 50 #endif |
50 #endif |
| 51 |
51 |
| 52 |
|
| 53 #ifdef __clang__ |
|
| 54 |
|
| 55 #undef G_GNUC_BEGIN_IGNORE_DEPRECATIONS |
|
| 56 #define G_GNUC_BEGIN_IGNORE_DEPRECATIONS \ |
|
| 57 _Pragma ("clang diagnostic push") \ |
|
| 58 _Pragma ("clang diagnostic ignored \"-Wdeprecated-declarations\"") |
|
| 59 |
|
| 60 #undef G_GNUC_END_IGNORE_DEPRECATIONS |
|
| 61 #define G_GNUC_END_IGNORE_DEPRECATIONS \ |
|
| 62 _Pragma ("clang diagnostic pop") |
|
| 63 |
|
| 64 #endif /* __clang__ */ |
|
| 65 |
|
| 66 |
|
| 67 /****************************************************************************** |
52 /****************************************************************************** |
| 68 * g_assert_* macros |
53 * g_assert_* macros |
| 69 *****************************************************************************/ |
54 *****************************************************************************/ |
| 70 #if !GLIB_CHECK_VERSION(2, 46, 0) |
55 #if !GLIB_CHECK_VERSION(2, 46, 0) |
| 71 #define g_assert_cmpmem(m1, l1, m2, l2) G_STMT_START {\ |
56 #define g_assert_cmpmem(m1, l1, m2, l2) G_STMT_START {\ |