projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea495b
)
Add __GNU_EXTENSION macro for enabling gcc's extension on demand.
author
Kai Tietz
<ktietz70@googlemail.com>
Sat, 27 Feb 2010 10:31:01 +0000
(10:31 +0000)
committer
Kai Tietz
<ktietz70@googlemail.com>
Sat, 27 Feb 2010 10:31:01 +0000
(10:31 +0000)
svn path=/branches/header-work/; revision=45692
include/ddk/wdm.h
patch
|
blob
|
history
diff --git
a/include/ddk/wdm.h
b/include/ddk/wdm.h
index
4f15233
..
b15bea4
100644
(file)
--- a/
include/ddk/wdm.h
+++ b/
include/ddk/wdm.h
@@
-1,6
+1,15
@@
#ifndef _WDMDDK_
#define _WDMDDK_
+/* Helper macro to enable gcc's extension. */
+#ifndef __GNU_EXTENSION
+#ifdef __GNUC__
+#define __GNU_EXTENSION __extension__
+#else
+#define __GNU_EXTENSION
+#endif
+#endif
+
//
// Dependencies
//