ext/libuv/include/pthread-barrier.h in libuv-2.0.12 vs ext/libuv/include/pthread-barrier.h in libuv-3.0.0
- old
+ new
@@ -37,9 +37,11 @@
# define UV_BARRIER_STRUCT_PADDING \
sizeof(pthread_mutex_t) + \
2 * sizeof(sem_t) + \
2 * sizeof(unsigned int) - \
sizeof(void *)
+#else
+# define UV_BARRIER_STRUCT_PADDING 0
#endif
typedef struct {
pthread_mutex_t mutex;
pthread_cond_t cond;