bakkeby / flexipatch-finalizer

A custom pre-processor for removing non-selected patches from flexipatch builds leaving a final patched build
BSD 3-Clause "New" or "Revised" License
105 stars 14 forks source link

Minor issue finalizing IPC patch for dwm #5

Closed bakkeby closed 3 years ago

bakkeby commented 4 years ago

I noticed that the flexipatch finalizer reduces

#ifdef _DEBUG
#define DEBUG(...) fprintf(stderr, __VA_ARGS__)
#else
#define DEBUG(...)
#endif

in util.h to

#ifdef _DEBUG
#define DEBUG(...) fprintf(stderr, __VA_ARGS__)
#endif

a quick workaround could be to change the original statement to:

#ifdef _DEBUG
#define DEBUG(...) fprintf(stderr, __VA_ARGS__)
#endif

#ifndef DEBUG
#define DEBUG(...)
#endif

but the script should be updated to keep everything.

bakkeby commented 3 years ago

Closing, should be fixed now.