mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r25515: Revert r25448:
Immediate structures are *not* supportet by the native C compiler at least on Solaris, Tru64 and HP-UX. Michael
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
9dd66317bd
commit
6d07e29de2
@@ -29,9 +29,15 @@
|
||||
from using bool for internal functions
|
||||
*/
|
||||
|
||||
#if defined(HAVE_IMMEDIATE_STRUCTURES)
|
||||
typedef struct {uint32_t v;} NTSTATUS;
|
||||
#define NT_STATUS(x) ((NTSTATUS) { x })
|
||||
#define NT_STATUS_V(x) ((x).v)
|
||||
#else
|
||||
typedef uint32_t NTSTATUS;
|
||||
#define NT_STATUS(x) (x)
|
||||
#define NT_STATUS_V(x) (x)
|
||||
#endif
|
||||
|
||||
/* Win32 Status codes. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user