Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] ibcm private header file
From: Roland Dreier (rdreier_at_[hidden])
Date: 2008-07-22 12:32:45

> So I think using byteorder.h is not a good idea (note the warning).
> How about just having two #defines, picking the Right one based on

On Linux, the public <byteswap.h> header might have what you need.
For that matter <infiniband/arch.h> has htonll() defined.

 - R.