After a long hiatus, we're doing a LOT of jaring again so I'm working again.... :-). Anyhow, I'm trying to compile fastjar on my Win2K machine. There's a struct/#define/something "DIR" in jartool.c in the add_to_jar() function. I must not be including the right library or something.... where can I find this item?
Well, I poked around my Debian machine for a bit and found a struct DIR that seems to work OK.
Next question - is there a Win32 equivalent of dirent.h? Can't seem to find that in my VC++ include directory... and the Linux version (extern struct dirent *readdir __P ((DIR *__dirp));) looks like a little more than I can decipher right now...
I wish I knew.. I've done no POSIX/ANSI-C coding under NT. You could be adventurous and try to cut-and-paste from the linux headers.. =)
On a side note, the gcc project is going to roll fastjar into their main code line, as they will be supporting Java compilation soon..
Yeah, that's what I did with DIR and it (seemed to) work OK. I'll keep looking for dirent (or just try to use some Win32/POSIX call instead)...
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.