From ac5794a7f4b77139f7de7c0e75996e5488c64afe Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Sat, 25 Feb 2012 18:41:14 +0100
Subject: [PATCH] COMP: fix libkml for compilation with linux icc

---
 .../uriparser-0.7.5/include/uriparser/UriDefsConfig.h           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Utilities/otbkml/third_party/uriparser-0.7.5/include/uriparser/UriDefsConfig.h b/Utilities/otbkml/third_party/uriparser-0.7.5/include/uriparser/UriDefsConfig.h
index 2877bb2306..c1141f556e 100644
--- a/Utilities/otbkml/third_party/uriparser-0.7.5/include/uriparser/UriDefsConfig.h
+++ b/Utilities/otbkml/third_party/uriparser-0.7.5/include/uriparser/UriDefsConfig.h
@@ -78,7 +78,7 @@
 /* Function inlining, not ANSI/ISO C! */
 #if (defined(URI_DOXYGEN) || defined(URI_SIZEDOWN))
 # define URI_INLINE
-#elif defined(__INTEL_COMPILER)
+#elif defined(__INTEL_COMPILER) && defined(WIN32)
 /* Intel C/C++ */
 /* http://predef.sourceforge.net/precomp.html#sec20 */
 /* http://www.intel.com/support/performancetools/c/windows/sb/CS-007751.htm#2 */
-- 
GitLab