Ticket #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: |
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
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/repos/chrome/site/pj.jpg)