Question regarding #define

Stefan genode-beginner at ...547...
Mon Feb 12 19:20:08 CET 2018


Hello all,

I’m trying to port a library to Genode and would like to set a specific preprocessor #define.

The source is situated in contrib/TheSource and there is a source directory under repos/libports/src/lib/TheSource but I do not see the connection between those.

How can one set a special preprocessor #define for a .cc file without touching the code? 

Is there a possibility to set the #define in the .mk-file?

Thanks in advance!

Stefan






More information about the users mailing list