Browse Source

fix compilation

Samuel Thibault 12 years ago
parent
commit
8f91551b72
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/profiling/profiling.c
  2. 1 0
      src/top/starpu_top.c

+ 1 - 0
src/profiling/profiling.c

@@ -88,6 +88,7 @@ int starpu_profiling_status_set(int status)
 	return prev_value;
 }
 
+#undef starpu_profiling_status_get
 int starpu_profiling_status_get(void)
 {
 	return _starpu_profiling;

+ 1 - 0
src/top/starpu_top.c

@@ -42,6 +42,7 @@ sem_t starpu_top_wait_for_go;
 pthread_mutex_t starpu_top_wait_for_continue_mutex;
 pthread_cond_t starpu_top_wait_for_continue_cond = PTHREAD_COND_INITIALIZER;
 
+#undef _starpu_top_status_get
 int _starpu_top_status_get(void)
 {
 	return _starpu_top;