X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fcore.h;h=aa57ba9bfe307d9318c0ae1bf364b686b62c653b;hb=0051cc0532da9f68a0ba5db5c07ebee1c91ee4d8;hp=385d8a61401423b34d8c49de277bfda443979779;hpb=503a50f07740b52908f630b0492cf56556f1a792;p=sbcl.git diff --git a/src/runtime/core.h b/src/runtime/core.h index 385d8a6..aa57ba9 100644 --- a/src/runtime/core.h +++ b/src/runtime/core.h @@ -32,4 +32,11 @@ struct ndir_entry { extern lispobj load_core_file(char *file); +/* arbitrary string identifying this build, embedded in .core files to + * prevent people mismatching a runtime built e.g. with :SB-SHOW + * against a .core built without :SB-SHOW (or against various grosser + * mismatches, e.g. a .core built with an old version of the code + * against a runtime with patches which add new C code) */ +extern unsigned char build_id[]; + #endif