I'm trying to use sed to delete all occurrences of
#ifdef _WIN32
#endif
Where all that exists between #ifdef and #endif is an empty line. I have limited experience using sed, I've read some documentation on the multi line features but I can't seem to figure it out. Any help is appreciated!