From: Daniel Lehman dlehman25@gmail.com
--- include/bcrypt.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/bcrypt.h b/include/bcrypt.h index b7d6c161467..9691605d69a 100644 --- a/include/bcrypt.h +++ b/include/bcrypt.h @@ -23,6 +23,10 @@ #define WINAPI __stdcall #endif
+#ifndef BCRYPT_SUCCESS +#define BCRYPT_SUCCESS(status) (((NTSTATUS)(status)) >= 0) +#endif + #ifndef IN #define IN #endif