Skip to content

Commit

Permalink
Add definition for GMM_INLINE_VIRTUAL macro.
Browse files Browse the repository at this point in the history
This is to be used for GMM DLL in Release-Internal and Release modes.

Change-Id: Iea30c0e72748717365259a9a6b39e6ef3280cd4e
  • Loading branch information
shankarprashanth authored and drprajap committed Jun 4, 2018
1 parent 40b45bd commit 3f31384
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Source/GmmLib/inc/External/Common/GmmCommonExt.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ OTHER DEALINGS IN THE SOFTWARE.
//===========================================================================
#ifdef GMM_LIB_DLL /* To be defined by Clients if GMMlib needs to be in DLL/so */

#ifdef _DEBUG
#define GMM_INLINE_VIRTUAL virtual // inline functions are made virtual for Debug version of Gmmlib Dll to export them from Dll
// For RI and Release, inline functions can be exported from DLL without being made virtual
#else
#define GMM_INLINE_VIRTUAL
#endif
#define GMM_INLINE_VIRTUAL virtual

#define GMM_VIRTUAL virtual

Expand Down

0 comments on commit 3f31384

Please sign in to comment.