Browse Source

Conditionally define the old ref macro to avoid breaking unreleased code that may still use it.

For compatibility only. Use REF instead. See e158881def12.
msvc10
Skoader 13 years ago
parent
commit
baa7ea7ca0
  1. 4
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/CoreLib/hsTypes.h

4
MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/CoreLib/hsTypes.h

@ -317,6 +317,10 @@ typedef hsColor32 hsRGBAColor32;
#define REF(a) ((void *)&(a)) #define REF(a) ((void *)&(a))
#if _MSC_VER < 1400
// For compatibility only, deprecated - use REF instead
#define ref(a) REF(a)
#endif
/**************************************************************************** /****************************************************************************
* *

Loading…
Cancel
Save