-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prov/verbs: Replace __BITS_PER_LONG with LONG_WIDTH
The verbs provider uses asm/types.h for __BITS_PER_LONG, but that header is limited to Linux systems. LONG_WIDTH is defined in C23 in limits.h. Use it instead, and add logic to define it if not available. This will allow the verbs provider to compile on FreeBSD systems. Signed-off-by: Ken Raffenetti <[email protected]>
- Loading branch information
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters