]> git.pld-linux.org Git - packages/crossmingw32-pixman.git/blob - pixman-notls.patch
- updated to 0.18.4
[packages/crossmingw32-pixman.git] / pixman-notls.patch
1 --- pixman-0.18.0/pixman/pixman-compiler.h.orig 2010-03-28 00:39:02.000000000 +0100
2 +++ pixman-0.18.0/pixman/pixman-compiler.h      2010-04-21 23:26:50.704991410 +0200
3 @@ -70,7 +70,14 @@
4  #endif
5  
6  /* TLS */
7 -#if defined(TOOLCHAIN_SUPPORTS__THREAD)
8 +#if defined(PIXMAN_NO_TLS)
9 +
10 +#   define PIXMAN_DEFINE_THREAD_LOCAL(type, name)                      \
11 +    static type name
12 +#   define PIXMAN_GET_THREAD_LOCAL(name)                               \
13 +    (&name)
14 +
15 +#elif defined(TOOLCHAIN_SUPPORTS__THREAD)
16  
17  #   define PIXMAN_DEFINE_THREAD_LOCAL(type, name)                      \
18      static __thread type name
This page took 0.405881 seconds and 3 git commands to generate.