projects
/
deliverable
/
titan.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d9e09c
)
Solaris 10 x86 definition conflict. #undef ERR (req: Thomas Herrlin)
author
ethbaat
<jeno.balasko@ericsson.com>
Wed, 13 Apr 2016 14:38:18 +0000
(16:38 +0200)
committer
ethbaat
<jeno.balasko@ericsson.com>
Wed, 13 Apr 2016 14:38:18 +0000
(16:38 +0200)
Signed-off-by: ethbaat <jeno.balasko@ericsson.com>
common/config_preproc.cc
patch
|
blob
|
blame
|
history
diff --git
a/common/config_preproc.cc
b/common/config_preproc.cc
index d3a8a0b464a5ddb9a1e5e8cd546c444da4ac1a9b..198d939fa2f8e2dc86bdbc0ce56a82b4cf2d8331 100644
(file)
--- a/
common/config_preproc.cc
+++ b/
common/config_preproc.cc
@@
-15,6
+15,10
@@
#include <stdio.h>
#include <stdlib.h>
+// Solaris 10 on x86 may define ERR in /usr/include/sys/regset.h depending on compiler and flags.
+// Workaround enum conflict with undef.
+#undef ERR
+
void string_chain_add(string_chain_t **ec, char *s)
{
string_chain_t *i = *ec, *new_ec;
This page took
0.025587 seconds
and
5
git commands to generate.