patch-glib_gatomic_c 348 B

12345678910
  1. --- glib-2.27.5.orig/glib/gatomic.c 2010-09-05 06:20:56.000000000 +0200
  2. +++ glib-2.27.5/glib/gatomic.c 2011-02-18 20:52:37.703561782 +0100
  3. @@ -882,6 +882,7 @@ g_atomic_pointer_compare_and_exchange (v
  4. #ifdef DEFINE_WITH_MUTEXES
  5. /* We have to use the slow, but safe locking method */
  6. +#include "gthread.h"
  7. static GMutex *g_atomic_mutex;
  8. /**