summaryrefslogtreecommitdiff
path: root/source3/include/nt_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/nt_status.h')
-rw-r--r--source3/include/nt_status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/nt_status.h b/source3/include/nt_status.h
index 1c80c5ecde..9747f73eb1 100644
--- a/source3/include/nt_status.h
+++ b/source3/include/nt_status.h
@@ -58,5 +58,6 @@ typedef uint32 WERROR;
#define NT_STATUS_IS_ERR(x) ((NT_STATUS_V(x) & 0xc0000000) == 0xc0000000)
#define NT_STATUS_EQUAL(x,y) (NT_STATUS_V(x) == NT_STATUS_V(y))
#define W_ERROR_IS_OK(x) (W_ERROR_V(x) == 0)
+#define W_ERROR_EQUAL(x,y) (W_ERROR_V(x) == W_ERROR_V(y))
#endif