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]

TEXT macro on UNIX


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]