//
//  PI_iLiveBaseStruct.hpp
//  PI_iLiveBase
//
//  Created by powersmart on 16/8/11.
//  Copyright © 2016年 PowerInfo. All rights reserved.
//

#ifndef PI_iLiveBaseStruct_hpp
#define PI_iLiveBaseStruct_hpp

#ifdef NT_VERSION
#define PI_iLiveBase_Mutex          CRITICAL_SECTION
#endif

#ifdef UNIX_VERSION
#define INFINITE                    0xFFFFFFFF
#define PI_iLiveBase_Mutex          pthread_mutex_t
#endif


typedef uint32_t                    DWORD;
typedef void                        *(*LPTHREAD_START_ROUTINE)(void *);
typedef	unsigned int                SOCKET;

#endif /* PI_iLiveBaseStruct_hpp */
