Collection of all my base layer functions.
Meant to be copy-pasted into other places. As this is meant for serious programs it requires a number of compiler extensions. It tries to support MSVC, GCC, and CLANG. Most toy compilers are missing too many features to be supported. The minimum supported C standard is C11 which includes support for anonymous structs and unions. Most other C11 features are not used.
Generates an amalgamation in the correct order for inclusion. Just
copy the output rstdlib.h into your project and you should be
good to go.