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:
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
|
Reference in New Issue
Block a user