Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // In a wrapper header, eg: include_oldlib.h...
- namespace oldlib
- {
- #include "oldlib.h"
- };
- #ifndef DONT_AUTO_INCLUDE_OLD_NAMESPACE
- using namespace oldlib;
- #endif
- #define TObject TMadeUpNameObject
- namespace oldlib
- {
- #inclcude "oldlib.h"
- };
- #ifdef Symbol
- #undef Symbol
- #define Symbol ThirdPartySymbol
- #endif
- #include <third_party_header.h>
- #undef Symbol
Add Comment
Please, Sign In to add comment