mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
r18855: Tell the diff between WERROR and NTSTATUS
Volker (This used to be commit 5cc4117692572f086b44324949546463681b837e)
This commit is contained in:
parent
1b8125265c
commit
fe5123c2ec
@ -45,9 +45,9 @@ typedef uint32 NTSTATUS;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_IMMEDIATE_STRUCTURES)
|
||||
typedef struct {uint32 v;} WERROR;
|
||||
typedef struct {uint32 w;} WERROR;
|
||||
#define W_ERROR(x) ((WERROR) { x })
|
||||
#define W_ERROR_V(x) ((x).v)
|
||||
#define W_ERROR_V(x) ((x).w)
|
||||
#else
|
||||
typedef uint32 WERROR;
|
||||
#define W_ERROR(x) (x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user