MadExcept is automatically adding its units to .dpr file.
This is fine when working on Windows environment. I'm getting an error when working on mobile devices as these units doesn't exists.
It's not that easy, unfortunately, because madExcept still supports Delphi 4, and all the older Delphi versions don't understand "ifdef windows", only the newest Delphi versions do. Now madExcept does know which IDE version it's currently running in. However, madExcept does not know if that's the only one that is used to work with any given source code file. It's possible that some users use the same dpr files with different Delphi versions. So I can't simply add "ifdef windows" because that would break older Delphi versions.
Does everything work if you manually add these ifdefs yourself?