Skip to content

Commit

Permalink
feat: removed version_checker for UE. (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 authored Oct 24, 2023
1 parent e72ac76 commit a6cd935
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/dpp/restresults.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,14 @@ struct DPP_EXPORT version_checker {
}
};

/*
* We need to tell DPP to NOT do the version checker if something from Unreal Engine is defined.
* We have to do this because UE is causing some weirdness where the version checker is broken and always errors.
* This is really only for DPP-UE. There is no reason to not do the version checker unless you are in Unreal Engine.
*/
#if !defined(UE_BUILD_DEBUG) && !defined(UE_BUILD_DEVELOPMENT) && !defined(UE_BUILD_TEST) && !defined(UE_BUILD_SHIPPING) && !defined(UE_GAME) && !defined(UE_EDITOR) && !defined(UE_BUILD_SHIPPING_WITH_EDITOR) && !defined(UE_BUILD_DOCS)
static version_checker dpp_vc;
#endif


/**
Expand Down

0 comments on commit a6cd935

Please sign in to comment.