mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 21:10:25 +01:00
std-aux: add NM_STRINGIFY() macro
This commit is contained in:
parent
63ab0d926d
commit
025d6898fe
1 changed files with 5 additions and 0 deletions
|
|
@ -83,6 +83,11 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#define NM_STRINGIFY_ARG(contents) #contents
|
||||
#define NM_STRINGIFY(macro_or_string) NM_STRINGIFY_ARG(macro_or_string)
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef _NM_CC_SUPPORT_AUTO_TYPE
|
||||
#if (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)))
|
||||
#define _NM_CC_SUPPORT_AUTO_TYPE 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue