|
@ -14,7 +14,8 @@ |
|
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
#ifndef __MERGERFS_SUCCESS_FAIL_HPP__
|
|
|
|
|
|
|
|
|
#ifndef __SUCCESS_FAIL_HPP__
|
|
|
|
|
|
#define __SUCCESS_FAIL_HPP__
|
|
|
|
|
|
|
|
|
#define STATVFS_SUCCESS 0
|
|
|
#define STATVFS_SUCCESS 0
|
|
|
#define STATVFS_SUCCEEDED(RV) ((RV) == STATVFS_SUCCESS)
|
|
|
#define STATVFS_SUCCEEDED(RV) ((RV) == STATVFS_SUCCESS)
|
|
@ -42,4 +43,4 @@ |
|
|
#define RENAME_FAILED(RV) ((RV) == RENAME_FAIL)
|
|
|
#define RENAME_FAILED(RV) ((RV) == RENAME_FAIL)
|
|
|
#define RENAME_FAILED_WITH(RV,ERRNO) (((RV) == RENAME_FAIL) && (errno == ERRNO))
|
|
|
#define RENAME_FAILED_WITH(RV,ERRNO) (((RV) == RENAME_FAIL) && (errno == ERRNO))
|
|
|
|
|
|
|
|
|
#endif /*__MERGERFS_SUCCESS_FAIL_HPP__ */
|
|
|
|
|
|
|
|
|
#endif
|