Skip to content
Snippets Groups Projects
Commit 127ecaf5 authored by ethbaat's avatar ethbaat
Browse files

Solaris 10 x86 definition conflict. #undef ERR (req: Thomas Herrlin)


Signed-off-by: default avatarethbaat <jeno.balasko@ericsson.com>
parent 0d9e09cf
No related branches found
No related tags found
1 merge request!33Solaris 10 x86 definition conflict. #undef ERR (req: Thomas Herrlin)
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment