diff options
author | jan.reininghaus@gmail.com <jan.reininghaus@gmail.com@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d> | 2013-05-12 16:33:37 +0000 |
---|---|---|
committer | jan.reininghaus@gmail.com <jan.reininghaus@gmail.com@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d> | 2013-05-12 16:33:37 +0000 |
commit | 7569a4005dc119d7a62990aeb4abe263716617a5 (patch) | |
tree | 21af967cf9a609a92eb8adbda490e33503510347 /include | |
parent | 0bf125e98bbf5a6f046489ffbf0790724a1223bd (diff) |
fixed compile issue for non-OpenMP platformsv1.2.1
git-svn-id: https://phat.googlecode.com/svn/trunk@83 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d
Diffstat (limited to 'include')
-rw-r--r-- | include/phat/helpers/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phat/helpers/misc.h b/include/phat/helpers/misc.h index d8cb9a6..d9d5d8f 100644 --- a/include/phat/helpers/misc.h +++ b/include/phat/helpers/misc.h @@ -63,6 +63,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 ) {};
#include <time.h>
#define omp_get_wtime() (float)clock() / (float)CLOCKS_PER_SEC
#endif
|