This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Dear Toru, > To: address@hidden > From: Toru Suzuki <address@hidden> > Subject: Compiling with DJGPP V2 > Organization: University of Victoria/School of Earth and Ocean Sciences > Keywords: 199604070226.AA17045 In the above message you wrote: > I think this is not serious bug. > DJGPP V2 (new version of DJGPP) no longer defines u_char, u_short, > u_int and u_long. Then I needed to add them to src/xdr/types.h, e.g.: > > *** types.h Sat Apr 06 16:21:10 1996 > - --- types.h~ Mon Feb 26 11:50:30 1996 > *************** > *** 38,52 **** > > #ifdef unix > #ifndef makedev /* ie, we haven't already included it */ > - - #if __DJGPP__ > 1 > - - typedef unsigned char u_char; > - - typedef unsigned short u_short; > - - typedef unsigned int u_int; > - - typedef unsigned long u_long; > - - typedef char * caddr_t; > - - #else > #include <sys/types.h> > - - #endif /* DJGPP */ > #endif > #else /* unix */ > #if defined(OS2) && defined(__GNUC__) > - --- 38,44 ---- > > > It seems that there is no problem anything else. > > Sincerely, Toru > > Toru Suzuki > School of Earth and Ocean Sciences > University of Victoria > mailto:address@hidden > http://maelstrom.seos.uvic.ca/people/toru/toru.html Thank you for your feedback. I've incorporated your changes, which will be included in the next release. -------- Steve Emmerson <address@hidden>