From 7569a4005dc119d7a62990aeb4abe263716617a5 Mon Sep 17 00:00:00 2001 From: "jan.reininghaus@gmail.com" Date: Sun, 12 May 2013 16:33:37 +0000 Subject: fixed compile issue for non-OpenMP platforms git-svn-id: https://phat.googlecode.com/svn/trunk@83 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- include/phat/helpers/misc.h | 1 + 1 file changed, 1 insertion(+) 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 #define omp_get_wtime() (float)clock() / (float)CLOCKS_PER_SEC #endif -- cgit v1.2.3