/**************************************************************************** ** File name : HTType.h ** Description : define data type ** Create date : 2018.09.01 ** Auther by : Liuyx ** Version info : V1.0.01 ** Copyright (C) 2002-2018 xi'an huatek, Inc Co., Ltd ** Update record: ** DATE AUTHER DESC ** ------------------------------------------------------------------------- ** 2018.09.01 Liuyx first build ****************************************************************************/ #ifndef __HT_TYPE_H #define __HT_TYPE_H #ifdef _WIN32 #ifndef int64 typedef __int64 tint64; #endif #else #ifndef int64 typedef long long tint64 ; #endif #endif #ifdef _WIN32 #ifndef utint64 typedef unsigned __int64 utint64; #endif #else #ifndef utint64 typedef unsigned long long utint64 ; #endif #endif #ifndef uint typedef unsigned int uint; #endif #ifndef ulong typedef unsigned long ulong; #endif #ifndef byte typedef unsigned char byte; #endif #ifndef uchar typedef unsigned char uchar; #endif #ifndef ushort typedef unsigned short ushort; #endif #ifdef _WIN32 #ifndef pthread_t typedef unsigned long pthread_t; #endif /*#else // Linux #ifndef pthread_t typedef pthread_t pthread_t; // bits/pthreadtypes.h typedef unsigned long int pthread_t; #endif */ #endif #endif // end __HT_TYPE_H