diff options
author | midipix <writeonce@midipix.org> | 2022-11-18 17:29:49 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2022-11-18 19:02:48 +0000 |
commit | 1717a8ab178466bb73fd4c0a7fba1402df9deef0 (patch) | |
tree | 288489dba2c18b8751b04ec8f079a9edc85619c1 /src/internal | |
parent | 3b05e82a2c5d529cb383a5c06b509883dc59d628 (diff) | |
download | ntapi-1717a8ab178466bb73fd4c0a7fba1402df9deef0.tar.bz2 ntapi-1717a8ab178466bb73fd4c0a7fba1402df9deef0.tar.xz |
ipc helper interfaces: allow requesting an existing connection.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntapi_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/ntapi_impl.h b/src/internal/ntapi_impl.h index e974d29..96cc08a 100644 --- a/src/internal/ntapi_impl.h +++ b/src/internal/ntapi_impl.h @@ -28,6 +28,10 @@ #define __NT_IS_MISALIGNED_LENGTH(x) (x % sizeof(size_t)) #define __NT_FILE_SYNC_IO (NT_FILE_SYNCHRONOUS_IO_ALERT|NT_FILE_SYNCHRONOUS_IO_NONALERT) +/* boolean definitions */ +#define true (1) +#define false (0) + /* user-defined options: head */ #ifndef __NT_TTY_MONITORS #define __NT_TTY_MONITORS 0x10 |