xtstr.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Gunar Schorcht
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef MACROS_XTSTR_H
20 #define MACROS_XTSTR_H
21 
22 #include <stddef.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
33 #ifndef XTSTR
34 #define _XTSTR(x) # x
35 #define XTSTR(x) _XTSTR(x)
36 #endif /* XTSTR */
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /* MACROS_XTSTR_H */
43