Ticket #989 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

Issues with Windows Unicode build (thanks Michele Cicciotti for the patch)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.5
Component: pjlib Version: trunk
Keywords: Cc:

Description (last modified by bennylp) (diff)

Issues with Windows Unicode build:

  • pjlib assumes that Win32 can't be Unicode. Setting PJ_NATIVE_STRING_IS_UNICODE to 1 if UNICODE is defined fixes this.
  • GetProcAddress always takes a char *, even if UNICODE is defined, so use char * instead of pj_char_t * (and accordingly omit PJ_T on string literals)

Thanks Michele Cicciotti for the patch.

Change History

Changed 9 months ago by bennylp

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

Fixed in r3002

Changed 8 months ago by bennylp

Note that the fix is broken on Windows Mobile, and this is fixed in 1.6 with ticket #1000

Note: See TracTickets for help on using tickets.