[Spread-users] Patch to fix defect in spread 3.17.1

Steven Dake scd at broked.org
Tue Dec 30 01:29:47 EST 2003


I have been using spread 3.17.1 for a few days testing it out and
playing with it.  Excellent job developers!

I did notice one problem with the sp.h header file.  In my application I
am extremely unlucky and use both mailbox and service as a variable
name.  When the C preprocessor processes the C code, it replaces these
variable names with "int" because they are #define'ed to int by sp.h.  

I have attached a patch which replaces the define's with typedefs, which
are a little more application friendly.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: spread-3.17.1-fixdefines
Url: http://lists.spread.org/pipermail/spread-users/attachments/20031229/1504d262/attachment.pl 

More information about the Spread-users mailing list