diff --git a/lib/AlignedAllocator.cc b/lib/AlignedAllocator.cc index 9df4ec1c..f6d234d5 100644 --- a/lib/AlignedAllocator.cc +++ b/lib/AlignedAllocator.cc @@ -13,9 +13,10 @@ void *PointerCache::Insert(void *ptr,size_t bytes) { if (bytes < 4096 ) return NULL; -#ifdef _OPENMP +#ifdef GRID_OMP assert(omp_in_parallel()==0); #endif + void * ret = NULL; int v = -1;