reformat OpenMPWrapper.h

This commit is contained in:
Dennis Luxen 2014-05-07 11:42:41 +02:00
parent bf5d83d228
commit dee3529f14

View File

@ -29,13 +29,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define OPENMP_WRAPPER_H
#ifdef _OPENMP
extern "C" {
#include <omp.h>
}
extern "C" {
#include <omp.h>
}
#else
inline int omp_get_num_procs () { return 1; }
inline int omp_get_max_threads () { return 1; }
inline int omp_get_thread_num () { return 0; }
inline void omp_set_num_threads (int i) {}
#endif /* _OPENMP */
#endif /* OPEN_MP_WRAPPER_H */
inline int omp_get_num_procs() { return 1; }
inline int omp_get_max_threads() { return 1; }
inline int omp_get_thread_num() { return 0; }
inline void omp_set_num_threads(int i) {}
#endif // _OPENMP
#endif // OPENMP_WRAPPER_H