Acorn C / C++ Compiler question.
Gareth Lock (2186) 51 posts |
Switched to C and the DDE for further developing BRIX (mock-up was on display on my stand back in Bristol.) Planning to make it multiplatform. What I need to know is whether the Norcroft Compiler has a global #define that would enable me to conditionally select and compile in the the RISC OS platform specific if it was defined? |
Chris Mahoney (1684) 2165 posts |
Yep. I think it’s |
Jeffrey Lee (213) 6048 posts |
Close – I believe the preferred one is |
Gareth Lock (2186) 51 posts |
OK… Nailed it with those suggestions, it’s __riscos |
Jeffrey Lee (213) 6048 posts |
Yeah, it looks like the DDE only has Meanwhile GCC defines |