Help with #define

Joined
Sep 18, 2022
Messages
1
Reaction score
0
Hi Guys, Working on a SW for New architecture , so wanted to make smaller things more optimal.
One such thing is I'm looking for is removal of frequent #ifdef s, Is there any way to minimise the usage of define/make it more generic.

Scenario:
I have multiple files, which has either #ifdef X or #ifdef not X and under it, there are different functions.

Any way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,193
Members
46,760
Latest member
HermineT96

Latest Threads

Top