// sometimes the value of a variable is *really* not used, to suppress the
// resulting warning you may pass it to this function
-template <typename T>
+#ifdef __BORLANDC__
+#define wxUnusedVar(identifier) identifier
+#else
+template <class T>
inline void wxUnusedVar(const T& WXUNUSED(t)) { }
+#endif
// ----------------------------------------------------------------------------
// compiler specific settings
typedef int wxInt32;
typedef unsigned int wxUint32;
+ #if defined(__MACH__) && !defined(SIZEOF_WCHAR_T)
+ #define SIZEOF_WCHAR_T 4
+ #endif
#if wxUSE_WCHAR_T && !defined(SIZEOF_WCHAR_T)
// also assume that sizeof(wchar_t) == 2 (under Unix the most
// common case is 4 but there configure would have defined