mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:56:26 +00:00
Add __GNU_EXTENSION macro for enabling gcc's extension on demand.
svn path=/branches/header-work/; revision=45692
This commit is contained in:
parent
9ea495ba33
commit
05754bfdfe
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue