소스 검색

Fix Windows build.

Cyril Roelandt 13 년 전
부모
커밋
ed192f10f0
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      src/sched_policies/heft.c

+ 8 - 0
src/sched_policies/heft.c

@@ -29,6 +29,14 @@
 #include <core/jobs.h>
 #include <top/starpu_top_core.h>
 
+#ifndef DBL_MIN
+#define DBL_MIN __DBL_MIN__
+#endif
+
+#ifndef DBL_MAX
+#define DBL_MAX __DBL_MAX__
+#endif
+
 static unsigned nworkers;
 
 static pthread_cond_t sched_cond[STARPU_NMAXWORKERS];