Jump to content

[WONTFIX] Preprocesser: Use #ifdef inside #define


photo

Recommended Posts

Posted

hi:  

   We would like able to use #ifdef inside a #define.

something like 

#define definename(NAME) \

   #ifdef NAME ## _A\

      xxxxx \

   #elif NAME ## _B\

     xxxxxx \

  #endif \

 

thanks

Posted

Hi Cinetec,

 

I'm afriad, this is task that will requre almost full Interpreter redesign. We don't have plans to implement such functionality.

 

Please, find a way to remove #ifdef from the #define.

 

Sorry for the inconvenience caused.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...