Ticket #180 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Failed compilation because usleep() doesn't return int on some *nix platforms (thanks Jukka-Pekka Kervinen)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10.3
Component: pjlib Version: 0.5.10.2
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Turns out that usleep() doesn't return int on some platform (e.g. Slackware 7.1, gcc 3.0, linux-2.4.19), causing os_core_unix.c compilation to fail because it checks for usleep() return value.

Thanks Jukka-Pekka Kervinen for reporting.

Change History

comment:1 Changed 11 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from usleep() doesn't return int on some *nix platforms (thanks Jukka-Pekka Kervinen) to Failed compilation because usleep() doesn't return int on some *nix platforms (thanks Jukka-Pekka Kervinen)

Fixed in r1067.

Note: See TracTickets for help on using tickets.