#ifndef ...
#define ...
...
#endif
But this seems like a painful way of doing this.
Allen
Erik Schoenfelder wrote:
>
> Hi,
>
> Allen> I've gotten the long file name problem fixed and ran nmake but
> Allen> still didn't get very far. My output looks like:
> Allen> G:\scotty-2.1.9\win>nmake
> Allen> [...]
> Allen> d:\tcl\include -nologo -Di386 -Fo.\ .\..\tnm\generic\tnmDns.c
> Allen> [...]
> Allen> c:\devstudio\vc\include\winsock.h(49) : error C2011: 'fd_set'
> Allen> : 'struct' type re definition
>
> Allen> The struct redefinition is puzzling because I can find no
> Allen> place where fd_set get defined before this occurance in
> Allen> winsock.h. Additionally, as far as I know, I am NOT running
> Allen> the 98-5-01 snapshot. I have not seen this.
>
> Allen> Any clues out there? :)
>
> Not really, sorry.
>
> Has VC++5.0 eg. sys/select.h or sys/time.h header which defines this
> typedef ? Or have the Tcl/include files of your tcl installation such
> a typedef somewhere ?
>
> Sorry, my experience is quite reduced to the scotty v3.0.0 snapshots,
> with Tcl v8.0 and VC++4.0.
>
> Hopefully someone else can provide something more helpful.
>
> Erik
> --
> !! This message is brought to you via the `tkined & scotty' mailing list.
> !! Please do not reply to this message to unsubscribe. To subscribe or
> !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
> !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.
--
Allen R. Schmitt-Gordon Senior Systems Support Engineer PowerTV, Inc 408.863.1172 (voice) 20833 Stevens Creek Blvd. #100 408.777.0176 (fax) Cupertino CA 95014 800.613.9896 (page) http://www.powertv.com page-gordona@powertv.com (email page)
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.