Overview
Comment: | Check for sysconf(). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3f7dee97e8b1cffb3ca2554ae7c23715 |
User & Date: | js on 2013-04-26 22:32:43 |
Other Links: | manifest | tags |
Context
2013-04-27
| ||
01:26 | Add OFStdIOStream. check-in: 085bfc12a0 user: js tags: trunk | |
2013-04-26
| ||
22:32 | Check for sysconf(). check-in: 3f7dee97e8 user: js tags: trunk | |
22:25 | Better checks for functions used in OFFile. check-in: c01ed004b0 user: js tags: trunk | |
Changes
Modified configure.ac from [0e15f6a1ab] to [9d0442e687].
︙ | |||
569 570 571 572 573 574 575 | 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 | - + | AC_MSG_CHECKING(for atomic operations) AS_IF([test x"$atomic_ops" != x"none"], [ AC_DEFINE(OF_HAVE_ATOMIC_OPS, 1, [Whether we have atomic operations]) AC_SUBST(ATOMIC_H, "atomic.h") ]) AC_MSG_RESULT($atomic_ops) |
︙ |
Modified src/OFSystemInfo.m from [da93dc47d6] to [e9e3f56333].
︙ | |||
47 48 49 50 51 52 53 | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | - + - + | pageSize = si.dwPageSize; numberOfCPUs = si.dwNumberOfProcessors; #elif defined(__QNX__) if ((pageSize = sysconf(_SC_PAGESIZE)) < 1) pageSize = 4096; numberOfCPUs = _syspage_ptr->num_cpu; #else |
︙ |