/util/drmingw: e4e9897399e8: Add note that although this is writ...

Daniel Atallah datallah at pidgin.im
Mon Sep 10 12:11:13 EDT 2012


Changeset: e4e9897399e8ecaa2ce5b1273ab564795f428635
Author:	 Daniel Atallah <datallah at pidgin.im>
Date:	 2012-09-07 16:05 -0400
Branch:	 default
URL: http://hg.pidgin.im/util/drmingw/rev/e4e9897399e8

Description:

Add note that although this is written with TCHAR junk, it can only be used without _UNICODE defined.

diffstat:

 exchndl.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff --git a/exchndl.c b/exchndl.c
--- a/exchndl.c
+++ b/exchndl.c
@@ -8,6 +8,11 @@
  * Journal, April 1997.
  */
 
+#if defined(_UNICODE) || defined(UNICODE)
+#error Although this file is written using TCHAR, a number of things \
+	(obvious and subtle) will not work correctly if TCHAR is not a char
+#endif
+
 #include <assert.h>
 #include <windows.h>
 #include <tchar.h>



More information about the Commits mailing list