Added 'C_C++/strinize.c'
This commit is contained in:
parent
06a08ac0dc
commit
d4a821c01c
10
C_C++/strinize.c
Normal file
10
C_C++/strinize.c
Normal file
@ -0,0 +1,10 @@
|
||||
// @BAKE gcc -E $@
|
||||
|
||||
//#define STR2(x) #x
|
||||
//#define STRINGIZE(x) STR2(x)
|
||||
|
||||
#define STRINGIZE(x) #x
|
||||
|
||||
#define VERSION 1.0
|
||||
|
||||
const char* version_string = STRINGIZE(VERSION);
|
Loading…
x
Reference in New Issue
Block a user