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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/nt_status.h b/source3/include/nt_status.h
index 968657ca44..f5495c8c95 100644
--- a/source3/include/nt_status.h
+++ b/source3/include/nt_status.h
@@ -34,7 +34,7 @@
from using BOOL for internal functions
*/
-#if defined(HAVE_IMMEDIATE_STRUCTURES)
+#if defined(HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
typedef struct {uint32 v;} NTSTATUS;
#define NT_STATUS(x) ((NTSTATUS) { x })
#define NT_STATUS_V(x) ((x).v)
@@ -44,7 +44,7 @@ typedef uint32 NTSTATUS;
#define NT_STATUS_V(x) (x)
#endif
-#if defined(HAVE_IMMEDIATE_STRUCTURES)
+#if defined(HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
typedef struct {uint32 w;} WERROR;
#define W_ERROR(x) ((WERROR) { x })
#define W_ERROR_V(x) ((x).w)