summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-24 22:13:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:41 -0500
commit611b5d29fc820e8e1361581e26b42f436c045c2b (patch)
tree266e5a49bb584b0c0557467d5d1efe8526e52bd1 /source3/include
parente1fa2ea7216909501c41bcc0499daea1c57ae06e (diff)
downloadsamba-611b5d29fc820e8e1361581e26b42f436c045c2b.tar.gz
samba-611b5d29fc820e8e1361581e26b42f436c045c2b.tar.bz2
samba-611b5d29fc820e8e1361581e26b42f436c045c2b.zip
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)
Diffstat (limited to 'source3/include')
-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 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)