From 0d709f6c344baaf284f90ecf55e65cbaf184680e Mon Sep 17 00:00:00 2001 From: Shuichi Ihara Date: Sun, 6 Oct 2013 23:17:27 +0900 Subject: [PATCH] LU-4071 build: Ignore semicolon for Intel compiler The build fails when if gcc is installed, but Intel compiler is defined for mpicc. It does ignore semicolon for this case. Signed-off-by: Shuichi Ihara Change-Id: Ia3306b32c8d886f7a3123ff3c6c967343f0c26b0 Reviewed-on: http://review.whamcloud.com/7864 Reviewed-by: Andreas Dilger Tested-by: Hudson Reviewed-by: Minh Diep Reviewed-by: Dmitry Eremin Tested-by: Maloo Reviewed-by: Bob Glossman --- libcfs/include/libcfs/posix/libcfs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libcfs/include/libcfs/posix/libcfs.h b/libcfs/include/libcfs/posix/libcfs.h index e6d91bc..f49fecd 100644 --- a/libcfs/include/libcfs/posix/libcfs.h +++ b/libcfs/include/libcfs/posix/libcfs.h @@ -273,7 +273,9 @@ static inline int module_refcount(struct module *m) ***************************************************************************/ struct shrinker { - ; +#ifndef __INTEL_COMPILER + ; +#endif }; #define DEFAULT_SEEKS (0) -- 1.8.3.1