Diff for /embedaddon/smartmontools/int64.h between versions 1.1 and 1.1.1.3

version 1.1, 2012/02/21 16:32:16 version 1.1.1.3, 2013/07/22 01:17:35
Line 12 Line 12
  * any later version.   * any later version.
  *   *
  * You should have received a copy of the GNU General Public License   * You should have received a copy of the GNU General Public License
 * (for example COPYING); if not, write to the Free * (for example COPYING); if not, write to the Free Software Foundation,
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  *   *
  */   */
   
Line 40 Line 40
 #include <sys/int_types.h>  #include <sys/int_types.h>
 #else  #else
 #if defined(_WIN32) && defined(_MSC_VER)  #if defined(_WIN32) && defined(_MSC_VER)
// for MSVC 6.0// for MSVC <= 9 (MSVC10 and MinGW provide <stdint.h>)
 typedef          __int64    int64_t;  typedef          __int64    int64_t;
 typedef unsigned __int64   uint64_t;  typedef unsigned __int64   uint64_t;
 #else  #else
Line 59  typedef unsigned long long uint64_t; Line 59  typedef unsigned long long uint64_t;
 #endif // HAVE_STDINT_H  #endif // HAVE_STDINT_H
 #endif // HAVE_INTTYPES_H  #endif // HAVE_INTTYPES_H
   
#ifdef _WIN32#if defined(_WIN32) && !defined(PRId64)
// for MSVCRT.DLL (used by both MSVC 6.0 and MinGW)// for MSVC (MinGW provides <inttypes.h>)
 #define PRId64 "I64d"  #define PRId64 "I64d"
 #define PRIu64 "I64u"  #define PRIu64 "I64u"
 #define PRIx64 "I64x"  #define PRIx64 "I64x"
#endif // _WIN32#endif // _WIN32 && !PRId64
   
 // If macros not defined in inttypes.h, fix here.  Default is GCC  // If macros not defined in inttypes.h, fix here.  Default is GCC
 // style  // style

Removed from v.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>