Opened 17 years ago

Closed 17 years ago

#180 closed defect (fixed)

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

comment:1 Changed 17 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
  • 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.