Solaris 10 x86 definition conflict. #undef ERR (req: Thomas Herrlin)
authorethbaat <jeno.balasko@ericsson.com>
Wed, 13 Apr 2016 14:38:18 +0000 (16:38 +0200)
committerethbaat <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

index d3a8a0b464a5ddb9a1e5e8cd546c444da4ac1a9b..198d939fa2f8e2dc86bdbc0ce56a82b4cf2d8331 100644 (file)
 #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.