Skip to content

Commit

Permalink
#780: attempt to fix compilation issues on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Feb 29, 2016
1 parent 39c84ff commit 5d7b17a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Bug tracker at https://github.com/giampaolo/psutil/issues
provides it.
- #776: [Linux] Process.cpu_affinity() may erroneously raise NoSuchProcess.
(patch by wxwright)
- #780: [OSX] psutil does not compile with some gcc versions.


4.0.0 - 2016-02-17
Expand Down
2 changes: 1 addition & 1 deletion psutil/_psutil_osx.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ psutil_proc_memory_uss(PyObject *self, PyObject *args) {
mach_msg_type_number_t info_count = VM_REGION_TOP_INFO_COUNT;
kern_return_t kr;
vm_size_t page_size;
mach_vm_address_t addr = MACH_VM_MIN_ADDRESS
mach_vm_address_t addr = MACH_VM_MIN_ADDRESS;
mach_port_t task = MACH_PORT_NULL;
vm_region_top_info_data_t info;
mach_port_t object_name;
Expand Down

0 comments on commit 5d7b17a

Please sign in to comment.