diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-12-02 19:44:08 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-12-02 19:44:08 -0800 |
commit | 3cc4080c55ac8d9b9af574186f878a1c1e72b0eb (patch) | |
tree | 20e9ed864f3d120a716d79327e2abfc15b3a4222 /src/base | |
parent | c681506b48495aedc38b5d31d12368bd7de096ad (diff) | |
download | abc-3cc4080c55ac8d9b9af574186f878a1c1e72b0eb.tar.gz abc-3cc4080c55ac8d9b9af574186f878a1c1e72b0eb.tar.bz2 abc-3cc4080c55ac8d9b9af574186f878a1c1e72b0eb.zip |
Portability changes for gcc-6 suggested by Clifford.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/main/mainInit.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/base/main/mainInit.c b/src/base/main/mainInit.c index 24471f4d..de5c9c12 100644 --- a/src/base/main/mainInit.c +++ b/src/base/main/mainInit.c @@ -61,8 +61,13 @@ extern void Abc2_Init( Abc_Frame_t * pAbc ); extern void Abc2_End ( Abc_Frame_t * pAbc ); extern void Abc85_Init( Abc_Frame_t * pAbc ); extern void Abc85_End( Abc_Frame_t * pAbc ); -extern void Glucose_Init( Abc_Frame_t * pAbc ); +#ifdef _WIN32 +extern void Glucose_Init( Abc_Frame_t *pAbc ); extern void Glucose_End( Abc_Frame_t * pAbc ); +#else +extern void "C" Glucose_Init( Abc_Frame_t *pAbc ); +extern void "C" Glucose_End( Abc_Frame_t * pAbc ); +#endif static Abc_FrameInitializer_t* s_InitializerStart = NULL; static Abc_FrameInitializer_t* s_InitializerEnd = NULL; |