소스 검색

Fix build with non-gcc compiler

Samuel Thibault 12 년 전
부모
커밋
e4a19e4640
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/util/starpu_task_list_inline.h

+ 2 - 2
src/util/starpu_task_list_inline.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010-2012  Université de Bordeaux 1
+ * Copyright (C) 2010-2013  Université de Bordeaux 1
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -22,7 +22,7 @@
 #ifdef __GNUC_GNU_INLINE__
 #define STARPU_INLINE extern inline
 #else
-#define STARPU_INLINE inline
+#define STARPU_INLINE static inline
 #endif
 #endif