Skip to content

Commit c5bfea4

Browse files
committed
aix(powerpc64): add system header comments
add system header comments to architecture-specific constants.
1 parent 81c945d commit c5bfea4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/unix/aix/powerpc64.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ cfg_if! {
500500
}
501501
}
502502

503+
// pthread.h
503504
pub const PTHREAD_MUTEX_INITIALIZER: pthread_mutex_t = pthread_mutex_t {
504505
__mt_word: [0, 2, 0, 0, 0, 0, 0, 0],
505506
};
@@ -509,11 +510,11 @@ pub const PTHREAD_COND_INITIALIZER: pthread_cond_t = pthread_cond_t {
509510
pub const PTHREAD_RWLOCK_INITIALIZER: pthread_rwlock_t = pthread_rwlock_t {
510511
__rw_word: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0],
511512
};
512-
513513
pub const PTHREAD_ONCE_INIT: pthread_once_t = pthread_once_t {
514514
__on_word: [0, 0, 0, 0, 0, 2, 0, 0, 0],
515515
};
516516

517+
// sys/resource.h
517518
pub const RLIM_INFINITY: c_ulong = 0x7fffffffffffffff;
518519

519520
extern "C" {

0 commit comments

Comments
 (0)