mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user