search for: gssapi_lib_variable

Displaying 1 result from an estimated 1 matches for "gssapi_lib_variable".

2012 Mar 16
1
[PATCH/cygwin]: Explicitely undefine _WIN32
...s in turn can break linking against some packages. In my case it's GSSAPI from the heimdal package. The header file /usr/include/gssapi/gssapi.h contains code like this: #if defined(_WIN32) #define GSSAPI_LIB_FUNCTION __declspec(dllimport) #define GSSAPI_LIB_CALL __stdcall #define GSSAPI_LIB_VARIABLE __declspec(dllimport) #else #define GSSAPI_LIB_FUNCTION #define GSSAPI_LIB_CALL #define GSSAPI_LIB_VARIABLE #endif The declspecs are right for the native Win32 Heimdal build, but they are wrong for the Cygwin library, so linking against libgssapi fails. Therefore, the below patch explic...