X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=include%2Fntos%2Fntdef.h;h=2f49140b07e17f18db35089fa09f1e956f7e12e7;hp=c3356c80611c6ad9ab31fd25f0b8911220a66f00;hb=03af8776dc14167b078911b0c7c5327d1bcdd128;hpb=f4077c1bf64ef89d74a8d4822d2d7aada3ba9927 diff --git a/include/ntos/ntdef.h b/include/ntos/ntdef.h index c3356c8..2f49140 100644 --- a/include/ntos/ntdef.h +++ b/include/ntos/ntdef.h @@ -11,6 +11,12 @@ #ifndef __INCLUDE_NTDEF_H #define __INCLUDE_NTDEF_H +#define PACKED __attribute__((packed)) + +#define EX_MAXIMUM_WAIT_OBJECTS (64) + +#ifndef __USE_W32API + #define ANYSIZE_ARRAY (1) #define DELETE (0x00010000L) @@ -20,10 +26,8 @@ #define DUPLICATE_CLOSE_SOURCE (1) #define DUPLICATE_SAME_ACCESS (2) -#define PACKED __attribute__((packed)) - #define INVALID_HANDLE_VALUE ((HANDLE)-1) -#define EX_MAXIMUM_WAIT_OBJECTS (64) +#endif /* !__USE_W32API */ #endif /* __INCLUDE_NTDEF_H */