From ed83287e4221c37916097f64b6f93e06c2c8bbbe Mon Sep 17 00:00:00 2001 From: Ulrich Bauer Date: Wed, 4 Jan 2017 23:15:13 +0100 Subject: inline functions to avoid linker problems --- include/phat/helpers/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/phat/helpers/misc.h b/include/phat/helpers/misc.h index fb5c07a..3e1ed56 100644 --- a/include/phat/helpers/misc.h +++ b/include/phat/helpers/misc.h @@ -64,7 +64,7 @@ namespace phat { #define omp_get_thread_num() 0 #define omp_get_max_threads() 1 #define omp_get_num_threads() 1 - void omp_set_num_threads( int ) {}; + inline void omp_set_num_threads( int ) {}; #include #define omp_get_wtime() (float)clock() / (float)CLOCKS_PER_SEC #endif -- cgit v1.2.3