#ifndef AASPI_TYPES_H #define AASPI_TYPES_H //! \file //! \brief AASPI I/O library data type definitions #include #ifdef _WIN32 // Windows type definitions typedef __int8 aaspi_int8; typedef __int16 aaspi_int16; typedef __int32 aaspi_int32; typedef __int64 aaspi_int64; typedef unsigned __int8 aaspi_uint8; typedef unsigned __int16 aaspi_uint16; typedef unsigned __int32 aaspi_uint32; typedef unsigned __int64 aaspi_uint64; typedef float aaspi_real32; typedef double aaspi_real64; typedef __int64 aaspi_off_t; typedef int aaspi_ssize_t; #else // Linux definitions typedef char aaspi_int8; typedef short aaspi_int16; typedef int aaspi_int32; typedef long long int aaspi_int64; typedef unsigned char aaspi_uint8; typedef unsigned short aaspi_uint16; typedef unsigned int aaspi_uint32; typedef unsigned long long int aaspi_uint64; typedef float aaspi_real32; typedef double aaspi_real64; typedef off_t aaspi_off_t; typedef int aaspi_ssize_t; #endif #endif