Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5476 closed Bug (fixed)

Changeset 14181 error

Reported by: rb07 Owned by: rb07
Priority: Low Milestone:
Component: libtransmission Version: 2.82+
Severity: Trivial Keywords:
Cc:

Description

PRIu64 in Windows is "I64u" (not "uI64").

PRIu32 in Windows is "u", or "I32u" (not "uI32").

Refs:

http://msdn.microsoft.com/en-us/library/56e442dc%28v=vs.90%29.aspx http://msdn.microsoft.com/en-us/library/tcxf1dw6%28v=vs.90%29.aspx

The tool kits, MinGW-w64, and MinGW don't need them anymore, but need a global define to activate them, __USE_MINGW_ANSI_STDIO, and __STDC_FORMAT_MACROS respectively.

Change History (3)

comment:1 Changed 8 years ago by jordan

  • Milestone None Set deleted
  • Owner changed from jordan to rb07

comment:2 Changed 8 years ago by jordan

  • Resolution set to fixed
  • Status changed from new to closed

macros changed r14183, new global defines added r14184. Thanks!

comment:3 Changed 8 years ago by rb07

The "#ifdef WIN32" is not true for MinGW-w64 as far as I know, I'm using

#if defined(WIN32) || defined(_WIN64)
Note: See TracTickets for help on using tickets.