diff options
author | Rob Landley <rob@landley.net> | 2020-01-30 22:04:43 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-01-30 22:04:43 -0600 |
commit | 2b729ee1e0cb266bf50df0ca80f123f93384ac77 (patch) | |
tree | bd457cb0d65e7eab57bdc70050656eefb9047b1c /toys.h | |
parent | 0f7eb7f2dec9deeef02ed7d36e547f6bd1a14c4d (diff) | |
download | toybox-2b729ee1e0cb266bf50df0ca80f123f93384ac77.tar.gz |
Move TOYBOX_VERSION fallback definition to toys.h.
(A git build takes it from "git describe".)
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -126,3 +126,10 @@ extern char **environ; #define GLOBALS(...) #define ARRAY_LEN(array) (sizeof(array)/sizeof(*array)) #define TAGGED_ARRAY(X, ...) {__VA_ARGS__} + +#ifndef TOYBOX_VERSION +#ifndef TOYBOX_VENDOR +#define TOYBOX_VENDOR "" +#endif +#define TOYBOX_VERSION "0.8.3"TOYBOX_VENDOR +#endif |