[Lcdproc] Patch: Refactoring min/max macros
Markus Dolze
bsdfan at nurfuerspam.de
Sun Nov 1 16:18:50 UTC 2009
Hi,
while working on the QNX patch I found that in the current code min() and max() macros are defined in several places.
I introduced a new file shared/defines.h into which I moved those macros and removed them from all other places. I thought of using config.h for this, but it is not #ifdef protected.
Currently only min/max macros are there, but others could be moved to it as well.
Comments?
Regards,
Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minmax.diff
Type: application/octet-stream
Size: 4380 bytes
Desc: not available
URL: <http://lists.omnipotent.net/pipermail/lcdproc/attachments/20091101/86bb1b93/attachment.obj>
More information about the LCDproc
mailing list