]> git.sesse.net Git - vlc/commitdiff
* include/vlc_common.h: added the _T() macro for win32 unicode.
authorGildas Bazin <gbazin@videolan.org>
Tue, 23 Nov 2004 10:19:43 +0000 (10:19 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 23 Nov 2004 10:19:43 +0000 (10:19 +0000)
include/vlc_common.h
modules/video_output/directx/vout.h

index e493d9a023b8b762a164a1d2cedfbcd0f1d98a10..a37a6db2814910a3941669e3c4e5ff4d65831393 100644 (file)
@@ -942,6 +942,13 @@ typedef __int64 off_t;
 #       define vsnprintf _vsnprintf
 #   endif
 
+#   ifndef _T
+#       ifdef UNICODE
+#           define _T(q) L##q
+#       else
+#           define _T(q) q
+#       endif
+#   endif
 #endif
 
 /* lseek (defined in src/extras/libc.c) */
index 271b391e0de42d110edc12f824cb47c3e6e5ed8e..c16b087c419569792a4d810ab0d6ec47dcdcad51 100644 (file)
@@ -149,14 +149,6 @@ void DirectXUpdateRects ( vout_thread_t *p_vout, vlc_bool_t b_force );
 #define DX_POSITION_CHANGE 0x1000
 #define DX_WALLPAPER_CHANGE 0x2000
 
-#ifndef _T
-#   ifdef UNICODE
-#       define _T(q) L##q
-#   else
-#       define _T(q) q
-#   endif
-#endif
-
 /*****************************************************************************
  * WinCE helpers
  *****************************************************************************/