On 13:15 Wed 02 Jun     , Hefty, Sean wrote:
> Fix warnings in windows build.
> 
> These are typecasts in several places, with a couple additional changes
> needed to libibnetdisc.  Windows uses ISO definitions instead of
> POSIX definitions, so calls like _read, _write, etc. are used on
> Windows instead of read, write.  The result is that internal functions
> are renamed with an ibnd prefix.
> 
> In order to handle ibdebug exported from libibmad, Windows need to mark
> the variable as a 'dllexport' from libibmad, but as 'dllimport' for users.
> Since libibnetdisc wants to 'dllimport' ibdebug from libibmad, while
> 'dllexporting its own functions, it requires a separate 'MAD_EXPORT' like
> definition to allow this.
> 
> Signed-off-by: Sean Hefty <[email protected]>

Applied. Thanks.

Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to