summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/unix/CPP/include_windows/tchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/7zip/unix/CPP/include_windows/tchar.h')
-rw-r--r--src/libs/7zip/unix/CPP/include_windows/tchar.h89
1 files changed, 0 insertions, 89 deletions
diff --git a/src/libs/7zip/unix/CPP/include_windows/tchar.h b/src/libs/7zip/unix/CPP/include_windows/tchar.h
deleted file mode 100644
index 5e89145af..000000000
--- a/src/libs/7zip/unix/CPP/include_windows/tchar.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * tchar.h
- *
- * Unicode mapping layer for the standard C library. By including this
- * file and using the 't' names for string functions
- * (eg. _tprintf) you can make code which can be easily adapted to both
- * Unicode and non-unicode environments. In a unicode enabled compile define
- * _UNICODE before including tchar.h, otherwise the standard non-unicode
- * library functions will be used.
- *
- * Note that you still need to include string.h or stdlib.h etc. to define
- * the appropriate functions. Also note that there are several defines
- * included for non-ANSI functions which are commonly available (but using
- * the convention of prepending an underscore to non-ANSI library function
- * names).
- *
- * This file is part of the Mingw32 package.
- *
- * Contributors:
- * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
- *
- * THIS SOFTWARE IS NOT COPYRIGHTED
- *
- * This source code is offered for use in the public domain. You may
- * use, modify or distribute it freely.
- *
- * This code is distributed in the hope that it will be useful but
- * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
- * DISCLAIMED. This includes but is not limited to warranties of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * $Revision: 1.11 $
- * $Author: earnie $
- * $Date: 2003/05/03 13:48:46 $
- *
- */
-
-#ifndef _TCHAR_H_
-#define _TCHAR_H_
-
-/* All the headers include this file. */
-#ifndef __int64
-#define __int64 long long
-#endif
-
-#ifndef __cdecl
-#define __cdecl /* */
-#endif
-
-/*
- * NOTE: This tests _UNICODE, which is different from the UNICODE define
- * used to differentiate Win32 API calls.
- */
-#ifdef _UNICODE
-
-
-/*
- * Use TCHAR instead of char or wchar_t. It will be appropriately translated
- * if _UNICODE is correctly defined (or not).
- */
-#ifndef _TCHAR_DEFINED
-typedef wchar_t TCHAR;
-#define _TCHAR_DEFINED
-#endif
-
-/*
- * Unicode functions
- */
-/*
-#define _tfopen _wfopen
-FILE *_wfopen( const wchar_t *filename, const wchar_t *mode );
-*/
-
-#else /* Not _UNICODE */
-
-#define _tfopen fopen
-
-/*
- * TCHAR, the type you should use instead of char.
- */
-#ifndef _TCHAR_DEFINED
-typedef char TCHAR;
-#define _TCHAR_DEFINED
-#endif
-
-#endif /* Not _UNICODE */
-
-#endif /* Not _TCHAR_H_ */
-