[vlc-devel] [PATCH] portable windows build

Jean-Baptiste Kempf jb at videolan.org
Tue Mar 10 21:24:45 CET 2015


On 10 Mar, Rémi Denis-Courmont wrote :
> Le mardi 10 mars 2015, 16:46:54 Hannes Domani a écrit :
> > Jean-Baptiste Kempf <jb at videolan.org> schrieb am 17:36 Dienstag, 10.März 
> 2015:
> > > On 10 Mar, Hannes Domani wrote :
> > > > Now without the -W.
> > > 
> > > Then you need to use TCHAR.
> > 
> > That's what I don't really get.
> > If UNICODE is always set, why use TCHAR?
> 
> To please JB.

Not only.

This is the correct way to write Windows code, and is therefore
educational.
Moreover, we never know what platforms will be in the future, so, let's
do things right.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list