Permalink
Browse files

unbreak gcc for __thread

  • Loading branch information...
1 parent 1e86a9a commit 013bb99d6342bd0fd282139d7b1344ffc5a727d6 @liuliu committed Oct 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ccv_memory.c
View
@@ -2,7 +2,7 @@
#include "ccv_internal.h"
#include "3rdparty/sha1/sha1.h"
-__thread static ccv_cache_t ccv_cache;
+static __thread ccv_cache_t ccv_cache;
/**
* For new typed cache object:
@@ -11,7 +11,7 @@ __thread static ccv_cache_t ccv_cache;
**/
/* option to enable/disable cache */
-__thread static int ccv_cache_opt = 0;
+static __thread int ccv_cache_opt = 0;
ccv_dense_matrix_t* ccv_dense_matrix_new(int rows, int cols, int type, void* data, uint64_t sig)
{

0 comments on commit 013bb99

Please sign in to comment.