summaryrefslogtreecommitdiff
path: root/pcrecpp.cc
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2016-06-14 09:01:52 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2016-06-14 09:01:52 +0000
commit513dc98cd8edee32fb91150b1d76855673257e9f (patch)
tree10e3bcf315e76b9087996ca260ae716a7a3f1e4a /pcrecpp.cc
parent6a9db59242d7810d734cde4df1931c6b673386d7 (diff)
downloadpcre-513dc98cd8edee32fb91150b1d76855673257e9f.tar.gz
Patch to allow compiling with Intel compiler.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1655 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcrecpp.cc')
-rw-r--r--pcrecpp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcrecpp.cc b/pcrecpp.cc
index 142a0c0..d09c9ab 100644
--- a/pcrecpp.cc
+++ b/pcrecpp.cc
@@ -66,7 +66,7 @@ Arg RE::no_arg((void*)NULL);
// inclusive test if we ever needed it. (Note that not only the
// __attribute__ syntax, but also __USER_LABEL_PREFIX__, are
// gnu-specific.)
-#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__)
+#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__) && !defined(__INTEL_COMPILER)
# define ULP_AS_STRING(x) ULP_AS_STRING_INTERNAL(x)
# define ULP_AS_STRING_INTERNAL(x) #x
# define USER_LABEL_PREFIX_STR ULP_AS_STRING(__USER_LABEL_PREFIX__)