mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Improve compatibility with C++ consumers
C++ is a little picky about not using keywords for names, or string constness. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Jorgen Lundman <lundman@lundman.net> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10409
This commit is contained in:
@@ -294,7 +294,9 @@ typedef long loff_t;
|
||||
typedef long rlim64_t;
|
||||
typedef int bool_t;
|
||||
typedef int enum_t;
|
||||
#ifndef __cplusplus
|
||||
#define __init
|
||||
#endif
|
||||
#define __exit
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
|
||||
Reference in New Issue
Block a user