tass-belgium / picotcp

PicoTCP is a free TCP/IP stack implementation
Other
1.16k stars 216 forks source link

picoTCP uses variadic defines specific to gcc #326

Open mateuszviste opened 8 years ago

mateuszviste commented 8 years ago

this is another compatibility/portability problem - see the attached patch.

picoTCP uses variadic define declarations that are specific to gcc. these declarations fail on OpenWatcom, I had to adapt them as shown in the patch to compile picoTCP on my compiler.

I don't know if there is a silver bullet for this problem - maybe some #ifdef would be required to adapt the syntax of such specific things depending what compiler is used?

variadic-define.patch.txt

danielinux commented 8 years ago

please make a pull request ISO sending text patches.