Commit 9268e987 authored by Gildas Bazin's avatar Gildas Bazin

* include/vlc_common.h: added the _T() macro for win32 unicode.

parent c224b9ac
...@@ -942,6 +942,13 @@ typedef __int64 off_t; ...@@ -942,6 +942,13 @@ typedef __int64 off_t;
# define vsnprintf _vsnprintf # define vsnprintf _vsnprintf
# endif # endif
# ifndef _T
# ifdef UNICODE
# define _T(q) L##q
# else
# define _T(q) q
# endif
# endif
#endif #endif
/* lseek (defined in src/extras/libc.c) */ /* lseek (defined in src/extras/libc.c) */
......
...@@ -149,14 +149,6 @@ void DirectXUpdateRects ( vout_thread_t *p_vout, vlc_bool_t b_force ); ...@@ -149,14 +149,6 @@ void DirectXUpdateRects ( vout_thread_t *p_vout, vlc_bool_t b_force );
#define DX_POSITION_CHANGE 0x1000 #define DX_POSITION_CHANGE 0x1000
#define DX_WALLPAPER_CHANGE 0x2000 #define DX_WALLPAPER_CHANGE 0x2000
#ifndef _T
# ifdef UNICODE
# define _T(q) L##q
# else
# define _T(q) q
# endif
#endif
/***************************************************************************** /*****************************************************************************
* WinCE helpers * WinCE helpers
*****************************************************************************/ *****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment