Changeset 61 for sources/src


Ignore:
Timestamp:
Feb 14, 2017, 11:54:05 AM (8 years ago)
Author:
meunier
Message:
  • Fixing include of openmp (still not functional as regarding of the compilation)
Location:
sources/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • sources/src/gen_code.cc

    r60 r61  
    4949#include <iostream>
    5050#include <fstream>
    51 #ifdef _OPENMP
    52 #include <omp.h>
     51#ifdef USE_OPENMP
     52    #include <omp.h>
    5353#endif
    5454
  • sources/src/gen_code.h

    r60 r61  
    2121#include "process_dependency.h"
    2222
    23 #ifdef _OPENMP
    24 #include <omp.h>
     23#ifdef USE_OPENMP
     24    #include <omp.h>
    2525#endif
    2626
  • sources/src/sc_main.cc

    r60 r61  
    3737#include <sstream>
    3838#include <list>
    39 #include <omp.h>
     39#ifdef USE_OPENMP
     40    #include <omp.h>
     41#endif
    4042#include <set>
    4143#include <cstring> // strcmp
  • sources/src/sc_module.cc

    r60 r61  
    3838#include <vector>
    3939#include <set>
    40 #ifdef _OPENMP
    41 #include <omp.h>
     40#ifdef USE_OPENMP
     41    #include <omp.h>
    4242#endif
    4343
  • sources/src/schedulers.cc

    r60 r61  
    4949#include "graph_signals.h" // makegraph
    5050
    51 #ifdef _OPENMP
    52 #include <omp.h>
     51#ifdef USE_OPENMP
     52    #include <omp.h>
    5353#endif
    5454
Note: See TracChangeset for help on using the changeset viewer.