This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
TEXT macro on UNIX
- From: Mohit Kumar <mohit dot kumar at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 31 May 2005 10:55:48 +0530
- Subject: TEXT macro on UNIX
- Reply-to: Mohit Kumar <mohit dot kumar at gmail dot com>
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