Re: Comm.C

From: Phillip A. Ames (kirk47@JUNO.COM)
Date: 11/01/98

On Sun, 1 Nov 1998 02:38:05 -0600 Neuromancer <>
>Just to give an example or two ... I don't understand why the includes
>of direct.h and mmsystem.h for windows ... I'm also at a loss as to
>what sysdep.h does exactly ... it's that sort of thing that bugs me :)
> If someone could point me in the right direction ... I'd really
>appreciate it.

OK, what sysdep.h does is work in conjunction with conf.h.  Sysdep.h is
responsible for the #include directives for various OS's and files.  If
you'll look in there, it'll say something like:

/* Header files that are only used in act.other.c */
#ifdef __ACT_OTHER_C__

# include <sys/stat.h>

#endif /* __ACT_OTHER_C__ */

And at the top of act.other.c

#define __ACT_OTHER_C__

And what conf.h does is define all those things like the HAVE_SYS_STAT_H
based on your operating system.  Hopefully that helps!


Phillip Ames    | Satisfaction is not guaranteed. | -Ferengi Rule of Acquisition #19
ICQ: 8778335    | AOL IM: Grathol

You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at
or call Juno at (800) 654-JUNO [654-5866]

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST