Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

epocmisc.h

Go to the documentation of this file.
00001 
00010 #ifndef __EPOCMISC_H__
00011 #define __EPOCMISC_H__
00012 
00013 /* Disable some warnings when compiling the original PuTTY C source code.
00014    The Symbian build tools run Visual C at warning level 4, and the code
00015    isn't really written for that... */
00016 #ifndef __cplusplus
00017 #ifdef __WINS__
00018 #pragma warning(disable : 4127) /* conditional expression is constant */
00019 #pragma warning(disable : 4100) /* unreferenced formal parameter */
00020 #pragma warning(disable : 4057) /* XX differs in indirection to slightly different base types from YY */
00021 #pragma warning(disable : 4244) /* conversion from X to Y, possible loss of data */
00022 #endif
00023 #endif
00024 
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00030 typedef unsigned int DWORD;
00031 typedef wchar_t WCHAR;
00032 #ifndef min
00033 #define min(x,y) ((x) <= (y) ? (x) : (y))
00034 #define max(x,y) ((x) >= (y) ? (x) : (y))
00035 #endif
00036 #define CP_ACP 0x12345678
00037 
00038 DWORD GetTickCount();
00039 unsigned GetCaretBlinkTime();
00040 
00041     
00042 
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046 
00047 #endif

Generated on Sun Feb 9 13:01:28 2003 for PuTTY by doxygen1.2.18