This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi Mohit, I'm not sure if there is an existing gcc equivalent, but if TEXT is a macro then you would be able to see how it was written on windows by looking in the header file that it comes from. Cheers, Craig. On Tue, 2005-05-31 at 15:25, Mohit Kumar wrote: > Hi All, > > Currently I am in the process of porting a certain Windows application > to UNIX and have hit a road blocker (atleast I consider it to be one). > The windows code uses TEXT macro whose help is as below: > > The TEXT macro identifies a string as Unicode when the UNICODE is > defined during compilation. Otherwise, it identifies a string as an > ANSI string. > TEXT ( > LPTSTR string > ) > > I was wondering if there is a similar macro on GCC. And if it does not > exist, could any one tell me how to write this? > > Thanks. > Mohit
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |