~alan-griffiths/mir/another-acceptance-test-uses-mir-Server-API

Viewing all changes in revision 1998.

  • Committer: Tarmac
  • Author(s): Ryan Lortie
  • Date: 2014-10-23 14:34:07 UTC
  • mfrom: (1995.1.1 mir)
  • Revision ID: tarmac-20141023143407-n3p5mtm5nrry2lfj
progressbar example: stop using internal glibc defines

__USE_BSD is a private define of glibc and it no longer does the same
thing with newer glibc releases.

Switch to using the correct _BSD_SOURCE instead.

_BSD_SOURCE is unfortunately disabled in newer releases of glibc, so we
should also define _DEFAULT_SOURCE. Fixes: https://bugs.launchpad.net/bugs/1384390.

Approved by PS Jenkins bot, Kevin DuBois, Daniel van Vugt.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: