Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#989 closed defect (fixed)

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)

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 (2)

comment:1 Changed 14 years ago by bennylp

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

Fixed in r3002

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