minor tweak to the mts_omp_* macros
parent
a2218c73e1
commit
0cf83b5a1b
|
@ -185,6 +185,9 @@ extern MTS_EXPORT_CORE int mts_omp_get_thread_num();
|
||||||
#define mts_omp_get_max_threads omp_get_max_threads
|
#define mts_omp_get_max_threads omp_get_max_threads
|
||||||
#define mts_omp_get_thread_num omp_get_thread_num
|
#define mts_omp_get_thread_num omp_get_thread_num
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#define mts_omp_get_max_threads() 1
|
||||||
|
#define mts_omp_get_thread_num() 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MTS_NAMESPACE_END
|
MTS_NAMESPACE_END
|
||||||
|
|
Loading…
Reference in New Issue