globalplatform/unicode.h

Go to the documentation of this file.
00001 /*  Copyright (c) 2007, Karsten Ohme
00002  *  This file is part of GlobalPlatform.
00003  *
00004  *  GlobalPlatform is free software: you can redistribute it and/or modify
00005  *  it under the terms of the GNU Lesser General Public License as published by
00006  *  the Free Software Foundation, either version 3 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  GlobalPlatform is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Lesser General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU Lesser General Public License
00015  *  along with GlobalPlatform.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 
00022 #ifndef OPGP_UNICODE_H
00023 #define OPGP_UNICODE_H
00024 
00025 #ifndef WIN32
00026 #define _tmain main
00027 #define _TCHAR char
00028 #define TCHAR char
00029 #if !defined(__wintypes_h__)
00030 #define LPTSTR char *
00031 #define LPCTSTR const char *
00032 #endif
00033 #define _T(arg) arg
00034 #define _tcsncpy strncpy
00035 #define _tcscpy strcpy
00036 #define _tcslen strlen
00037 #define _tprintf printf
00038 #define _tfopen fopen
00039 #define _stprintf sprintf
00040 #define _tgetenv getenv
00041 #define _ftprintf fprintf
00042 #define _sntprintf snprintf
00043 #define _fputts fputs
00044 #define _vftprintf vfprintf
00045 #define _tcserror_s strerror_r
00046 #endif
00047 
00048 #endif
Generated on Wed Aug 11 00:24:28 2010 for GlobalPlatformLibrary by  doxygen 1.6.3