macros: provide fallbacks for common macros

These are set by our build-system, but some tools like cppcheck don't use that.
pull/12565/head
Victor Julien 2 years ago
parent 22a71e7317
commit a8ba1e9896

@ -51,6 +51,13 @@
#include "autoconf.h"
#endif
#ifndef REVISION
#define REVISION "undefined"
#endif
#ifndef __SCFILENAME__
#define __SCFILENAME__ "undefined"
#endif
#ifndef CLS
#warning "L1 cache line size not detected during build. Assuming 64 bytes."
#define CLS 64

Loading…
Cancel
Save