95 |
/* the main macros that follow */ |
/* the main macros that follow */ |
96 |
/**************************************************************/ |
/**************************************************************/ |
97 |
|
|
98 |
#if defined(_WIN32) // Use python for memory management on windows. |
#if defined(_WIN32) /* Use python for memory management on windows. */ |
99 |
|
|
100 |
#include <python.h> |
#include <python.h> |
101 |
|
|
121 |
/* Also, _WIN32 may take this branch one day... */ |
/* Also, _WIN32 may take this branch one day... */ |
122 |
/* SO KEEP ALL THREAD_MEMALLOC/FREEs CONFINED TO THE PASO LIBRARY. */ |
/* SO KEEP ALL THREAD_MEMALLOC/FREEs CONFINED TO THE PASO LIBRARY. */ |
123 |
|
|
124 |
#if defined(__ECC) && defined(_OPENMP) // ECC version of intel compiler with openmp. |
#if defined(__ECC) && defined(_OPENMP) /* ECC version of intel compiler with openmp. */ |
125 |
#include <omp.h> |
#include <omp.h> |
126 |
#define PASO_THREAD_MALLOC kmp_malloc |
#define PASO_THREAD_MALLOC kmp_malloc |
127 |
#define PASO_THREAD_FREE kmp_free |
#define PASO_THREAD_FREE kmp_free |