What you need to do is modify the code to remove USE_KCHMVIEWER from the relevant decision(s). Probably, it should be removed entirely and replaced with a variable. I'm not familiar with VirtualBox, so I don't know how difficult this is. But the type you would want to use is bool.
What you're trying to do isn't possible. #define is a preprocessor command,
executed at compile time. Any instances of USE_KCHMVIEWER get replaced in the
code, before it is compiled, with the value of USE_KCHMVIEWER. So there isn't
a way to change such constants at run-time, and "undefining" them doesn't
make any sense.
- [Trisquel-users] Help me making a small change in a C++ progr... myself600
- Re: [Trisquel-users] Help me making a small change in a ... onpon4
- Re: [Trisquel-users] Help me making a small change in a ... myself600
- Re: [Trisquel-users] Help me making a small change in a ... myself600
- [Trisquel-users] Re : Help me making a small change in a... lcerf
- Re: [Trisquel-users] Help me making a small change in a ... myself600
