Commit a49dfbcf by Alan Mishchenko

Portability changes for gcc-6 suggested by Clifford.

parent 46175d04
...@@ -61,13 +61,8 @@ extern void Abc2_Init( Abc_Frame_t * pAbc ); ...@@ -61,13 +61,8 @@ extern void Abc2_Init( Abc_Frame_t * pAbc );
extern void Abc2_End ( Abc_Frame_t * pAbc ); extern void Abc2_End ( Abc_Frame_t * pAbc );
extern void Abc85_Init( Abc_Frame_t * pAbc ); extern void Abc85_Init( Abc_Frame_t * pAbc );
extern void Abc85_End( Abc_Frame_t * pAbc ); extern void Abc85_End( Abc_Frame_t * pAbc );
#ifdef _WIN32
extern void Glucose_Init( Abc_Frame_t *pAbc ); extern void Glucose_Init( Abc_Frame_t *pAbc );
extern void Glucose_End( Abc_Frame_t * pAbc ); extern void Glucose_End( Abc_Frame_t * pAbc );
#else
extern "C" void Glucose_Init( Abc_Frame_t *pAbc );
extern "C" void Glucose_End( Abc_Frame_t * pAbc );
#endif
static Abc_FrameInitializer_t* s_InitializerStart = NULL; static Abc_FrameInitializer_t* s_InitializerStart = NULL;
static Abc_FrameInitializer_t* s_InitializerEnd = NULL; static Abc_FrameInitializer_t* s_InitializerEnd = NULL;
......
...@@ -26,13 +26,8 @@ ...@@ -26,13 +26,8 @@
ABC_NAMESPACE_HEADER_START ABC_NAMESPACE_HEADER_START
#ifdef _WIN32
extern void Glucose_Init( Abc_Frame_t *pAbc ); extern void Glucose_Init( Abc_Frame_t *pAbc );
extern void Glucose_End( Abc_Frame_t * pAbc ); extern void Glucose_End( Abc_Frame_t * pAbc );
#else
extern "C" void Glucose_Init( Abc_Frame_t *pAbc );
extern "C" void Glucose_End( Abc_Frame_t * pAbc );
#endif
ABC_NAMESPACE_HEADER_END ABC_NAMESPACE_HEADER_END
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment