diff options
| author | Selene ToyKeeper | 2019-01-23 19:04:21 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2019-01-23 19:04:21 -0700 |
| commit | 187ce7a5b7b48e8e1643efb8567e04b7bb2bf2df (patch) | |
| tree | d6b68c6d02eed42b6fd6b9041f712baf40392b30 /tk.h | |
| parent | Updated README to point at build/flash scripts. (diff) | |
| parent | merged trunk (diff) | |
| download | anduril-187ce7a5b7b48e8e1643efb8567e04b7bb2bf2df.tar.gz anduril-187ce7a5b7b48e8e1643efb8567e04b7bb2bf2df.tar.bz2 anduril-187ce7a5b7b48e8e1643efb8567e04b7bb2bf2df.zip | |
merged past 2 months of updates from fsm branch:
Diffstat (limited to 'tk.h')
| -rw-r--r-- | tk.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#ifndef TK_H +#define TK_H + +///// +// tk.h +// misc tricks which need to be available before other includes, +// but which don't need to be repeated in every source file +//// + +// create a way to include files defined at the command line, +// like with "gcc -DCONFIGFILE=foo.h" +#define incfile2(s) #s +#define incfile(s) incfile2(s) +// use it like this: +//#include incfile(CONFIGFILE) + +#endif |
