Re: TEXT macro on UNIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux