Displaying 1 result from an estimated 1 matches for "gssapi_lib_function".
2012 Mar 16
1
[PATCH/cygwin]: Explicitely undefine _WIN32
...header files are included (Mingw32/Mingw64)
that can result in a `#define _WIN32'. This 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 fo...