From 611b5d29fc820e8e1361581e26b42f436c045c2b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 24 Sep 2006 22:13:43 +0000 Subject: r18878: With the recent checkins for me Samba3 compiles again with the NTSTATUS/WERROR checks enabled. I'll look at the build farm in a couple of hours and fix it if not. Volker (This used to be commit 58583aa9431034be0ea03f0bc3c69463fb9c8c22) --- source3/include/nt_status.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/include/nt_status.h b/source3/include/nt_status.h index f5495c8c95..968657ca44 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_XX_DISABLED) +#if defined(HAVE_IMMEDIATE_STRUCTURES) 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_XX_DISABLED) +#if defined(HAVE_IMMEDIATE_STRUCTURES) typedef struct {uint32 w;} WERROR; #define W_ERROR(x) ((WERROR) { x }) #define W_ERROR_V(x) ((x).w) -- cgit