libmtp.h | libmtp.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02111-1307, USA. | |||
* | * | |||
* <code> | * <code> | |||
* #include <libmtp.h> | * #include <libmtp.h> | |||
* </code> | * </code> | |||
*/ | */ | |||
#ifndef LIBMTP_H_INCLUSION_GUARD | #ifndef LIBMTP_H_INCLUSION_GUARD | |||
#define LIBMTP_H_INCLUSION_GUARD | #define LIBMTP_H_INCLUSION_GUARD | |||
#define LIBMTP_VERSION 1.1.1 | #define LIBMTP_VERSION 1.1.2 | |||
#define LIBMTP_VERSION_STRING "1.1.1" | #define LIBMTP_VERSION_STRING "1.1.2" | |||
/* This handles MSVC pecularities */ | /* This handles MSVC pecularities */ | |||
#ifdef _MSC_VER | #ifdef _MSC_VER | |||
#include <windows.h> | #include <windows.h> | |||
#define __WIN32__ | #define __WIN32__ | |||
#define snprintf _snprintf | #define snprintf _snprintf | |||
#define ssize_t SSIZE_T | #define ssize_t SSIZE_T | |||
/* | /* | |||
* Types that do not exist in Windows | * Types that do not exist in Windows | |||
* sys/types.h, but they exist in mingw32 | * sys/types.h, but they exist in mingw32 | |||
skipping to change at line 56 | skipping to change at line 56 | |||
typedef char int8_t; | typedef char int8_t; | |||
typedef unsigned char uint8_t; | typedef unsigned char uint8_t; | |||
typedef __int16 int16_t; | typedef __int16 int16_t; | |||
typedef unsigned __int16 uint16_t; | typedef unsigned __int16 uint16_t; | |||
typedef __int32 int32_t; | typedef __int32 int32_t; | |||
typedef unsigned __int32 uint32_t; | typedef unsigned __int32 uint32_t; | |||
typedef unsigned __int64 uint64_t; | typedef unsigned __int64 uint64_t; | |||
#endif | #endif | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <usb.h> | ||||
#include <stdint.h> | #include <stdint.h> | |||
/* We use time_t */ | /* We use time_t */ | |||
#include <time.h> | #include <time.h> | |||
/** | /** | |||
* @defgroup types libmtp global type definitions | * @defgroup types libmtp global type definitions | |||
* @{ | * @{ | |||
*/ | */ | |||
/** | /** | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||