mixing #ifdef'ed blocks inside code is bad, can lead to warnings if some variables are not used and it's a pain to read. instead, just define functions and always call them, choose their implementation based on the ifdef macros. I opted to have 2 declarations, but one can go like other parts and #ifdef around the function contents as well. SVN revision: 37281 |
||
---|---|---|
legacy |