Commit 8c7e748d authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Just define STATUS_HANDLE_NOT_CLOSABLE

Summary: Multiple windows headers define a subset of the full list of status types and it's a mess, so just define the only extra one we need manually to avoid the warning spew.

Reviewed By: yfeldblum

Differential Revision: D13225857

fbshipit-source-id: e963194a8c14046e7884abb4bcb265442b6978f7
parent 77e5e1b5
......@@ -23,11 +23,8 @@
#include <fcntl.h>
// Including ntdef.h requires building as a driver, but all we want
// is a status code, but we need NTSTATUS defined for that. Luckily
// bcrypt.h also defines NTSTATUS, so we'll use that one instead.
#include <bcrypt.h> // @manual
#include <ntstatus.h> // @manual
// We need this, but it's only defined for kernel drivers :(
#define STATUS_HANDLE_NOT_CLOSABLE 0xC0000235L
namespace folly {
namespace netops {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment