1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 04:09:16 +00:00

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

For compatibility only. Use REF instead. See e158881def12.
This commit is contained in:
Skoader
2012-05-25 17:22:17 +10:00
parent 0aa7c392a9
commit baa7ea7ca0

View File

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