Then, when I refer to MACRO_TEST in my .chs file like this, c2hs will fail:
{#enum define Flags { MACRO_TEST as Test } deriving (Eq, Show) #}
The header file is a system header, so I cannot just modify the definition. Is there any workaround for this, or should I just rewrite enum define by hand?
I get the following message when using
enum define
:The macros involved are
#define
ed in terms of other helper macros like:Then, when I refer to
MACRO_TEST
in my.chs
file like this,c2hs
will fail:The header file is a system header, so I cannot just modify the definition. Is there any workaround for this, or should I just rewrite
enum define
by hand?