projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[HEADERS]
[reactos.git]
/
reactos
/
include
/
ddk
/
bdasup.h
diff --git
a/reactos/include/ddk/bdasup.h
b/reactos/include/ddk/bdasup.h
index
69fcece
..
0bdd590
100644
(file)
--- a/
reactos/include/ddk/bdasup.h
+++ b/
reactos/include/ddk/bdasup.h
@@
-2,6
+2,15
@@
extern "C" {
#endif
extern "C" {
#endif
+/* Helper macro to enable gcc's extension. */
+#ifndef __GNU_EXTENSION
+#ifdef __GNUC__
+#define __GNU_EXTENSION __extension__
+#else
+#define __GNU_EXTENSION
+#endif
+#endif
+
#define STDMETHODCALLTYPE __stdcall
typedef GUID *PGUID;
#define STDMETHODCALLTYPE __stdcall
typedef GUID *PGUID;
@@
-30,7
+39,7
@@
typedef struct _BDA_FILTER_TEMPLATE
typedef struct _KSM_PIN
{
KSMETHOD Method;
typedef struct _KSM_PIN
{
KSMETHOD Method;
- union
+
__GNU_EXTENSION
union
{
ULONG PinId;
ULONG PinType;
{
ULONG PinId;
ULONG PinType;