Ticket #989 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years 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:
Backport to 1.x milestone: Backported:

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

comment:1 Changed 9 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Fixed in r3002

comment:2 Changed 9 years 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.