mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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 58583aa943
)
This commit is contained in:
parent
e1fa2ea721
commit
611b5d29fc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user