Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

To get Crossedit to work on a Next:




Ok, pretty simple.  Here is what I did:

1) Move Posix.h in crossedit/Cnv/Cnv.h to be the first file
included.

2) Include Posix.h in crossedit/Cnv/CnvPrompt.c. (first file
included)

3) Use cc and not gcc.  Apparently gcc uses its own
limits.h, which does not define NAME_MAX.

4) Change "struct dirent" to "struct direct" in
crossedit/Cnv/CnvFiles.c and CnvPath.c.  For some reason,
with struct dirent, many file names lose their first 4
letters.

libCnv.a should now compile in crossedit/Cnv.

5) Add Posix.h (always as the first file included) to every
.c file in crossedit.

crossedit should now compile in crossedit.

6) Make sure all map files are uncompressed.  Either
crossedit doesn't handle compressed maps yet, or something
goes wrong...

After this, everything seems to fly.  Yay!!!! :)

Michael