Possible to do conditional compile for module?
BlitzMax Forums/BlitzMax Programming/Possible to do conditional compile for module?
| ||
Is it possible to make a block of code conditional on a module being used? Specifically I would like to be able to compile some code to load images one way using FreeImage module, but I would like to be able to comment out the module include and use some other loading code without it blowing up that the freeimage types etc. don't exist... |
| ||
No. It's up to the user to figure that out themselves. The same question was asked here. |