Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Lacking defines in <sys/mount.h> breaks build on legacy OS X #2412

Closed
sevan opened this issue Apr 22, 2024 · 1 comment
Closed

[macOS] Lacking defines in <sys/mount.h> breaks build on legacy OS X #2412

sevan opened this issue Apr 22, 2024 · 1 comment

Comments

@sevan
Copy link

sevan commented Apr 22, 2024

Summary

  • OS: OS X 10.4
  • Architecture: PowerPC
  • Psutil version: 5.9.8
  • Python version: 2.7.18
  • Type: core

Description

psutil/arch/osx/disk.c: In function ‘psutil_disk_partitions’:
psutil/arch/osx/disk.c:89: error: ‘MNT_QUARANTINE’ undeclared (first use in this function)
psutil/arch/osx/disk.c:89: error: (Each undeclared identifier is reported only once
psutil/arch/osx/disk.c:89: error: for each function it appears in.)
psutil/arch/osx/disk.c:111: error: ‘MNT_MULTILABEL’ undeclared (first use in this function)
psutil/arch/osx/disk.c:113: error: ‘MNT_NOATIME’ undeclared (first use in this function)

MNT_QUARANTINE, MNT_MULTILABEL, MNT_NOATIME showed up in OS X 10.5.

@giampaolo
Copy link
Owner

Should be fixed now. Please try and report back if you have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants