the crc field in progs.dat is evily generated from the crc of progsdef.h, so

change the header to produce a matching crc. This is an interrim fix until a
better solution can be found.
This commit is contained in:
Bill Currie 2001-03-12 20:04:22 +00:00
parent 3217faa319
commit 21fa23a747
2 changed files with 6 additions and 1 deletions

5
tools/qfcc/source/.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
Makefile.in
Makefile
.deps
qfcc

View file

@ -616,7 +616,7 @@ PR_WriteProgdefs (char *filename)
f = fopen (filename, "w");
// print global vars until the first field is defined
fprintf (f, "\n/* file generated by qfcc, do not modify */\n\ntypedef struct {\nint\tpad[%i];\n", RESERVED_OFS);
fprintf (f, "\n/* file generated by qcc, do not modify */\n\ntypedef struct\n{\tint\tpad[%i];\n", RESERVED_OFS);
for (d = pr.def_head.next; d; d = d->next) {
if (!strcmp (d->name, "end_sys_globals"))