Ignore:
Timestamp:
Oct 23, 2019, 12:33:29 PM (5 years ago)
Author:
bouyer
Message:

Remplace USE_OPENMP with _OPENMP, the latter is automagically defined
by the compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_module.cc

    r62 r63  
    3838#include <vector>
    3939#include <set>
    40 #ifdef USE_OPENMP
     40#ifdef _OPENMP
    4141    #include <omp.h>
    4242#endif
     
    131131    module = &mod;
    132132    dont_initialize = false;
    133 #ifdef USE_OPENMP
     133#ifdef _OPENMP
    134134    omp_threadnum = omp_get_thread_num();
    135135#endif
Note: See TracChangeset for help on using the changeset viewer.