Possible to do conditional compile for module?

BlitzMax Forums/BlitzMax Programming/Possible to do conditional compile for module?

ima747(Posted 2010) [#1]
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...


markcw(Posted 2010) [#2]
No. It's up to the user to figure that out themselves.

The same question was asked here.