Fossil SCM
On platforms having strchrnul(), use it to speed up sqlite a little bit.
Commit
9a9ef1d0426d9daa11855fe3c8cfc09f60c99db2
Parent
f6d7eb4e3c8cda5…
1 file changed
+1
M
auto.def
+1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -278,10 +278,11 @@ | ||
| 278 | 278 | } |
| 279 | 279 | } |
| 280 | 280 | cc-check-function-in-lib iconv iconv |
| 281 | 281 | cc-check-functions utime |
| 282 | 282 | cc-check-functions usleep |
| 283 | +cc-check-functions strchrnul | |
| 283 | 284 | |
| 284 | 285 | # Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE |
| 285 | 286 | if {![cc-check-functions getloadavg]} { |
| 286 | 287 | define FOSSIL_OMIT_LOAD_AVERAGE 1 |
| 287 | 288 | msg-result "Load average support unavailable" |
| 288 | 289 |
| --- auto.def | |
| +++ auto.def | |
| @@ -278,10 +278,11 @@ | |
| 278 | } |
| 279 | } |
| 280 | cc-check-function-in-lib iconv iconv |
| 281 | cc-check-functions utime |
| 282 | cc-check-functions usleep |
| 283 | |
| 284 | # Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE |
| 285 | if {![cc-check-functions getloadavg]} { |
| 286 | define FOSSIL_OMIT_LOAD_AVERAGE 1 |
| 287 | msg-result "Load average support unavailable" |
| 288 |
| --- auto.def | |
| +++ auto.def | |
| @@ -278,10 +278,11 @@ | |
| 278 | } |
| 279 | } |
| 280 | cc-check-function-in-lib iconv iconv |
| 281 | cc-check-functions utime |
| 282 | cc-check-functions usleep |
| 283 | cc-check-functions strchrnul |
| 284 | |
| 285 | # Check for getloadavg(), and if it doesn't exist, define FOSSIL_OMIT_LOAD_AVERAGE |
| 286 | if {![cc-check-functions getloadavg]} { |
| 287 | define FOSSIL_OMIT_LOAD_AVERAGE 1 |
| 288 | msg-result "Load average support unavailable" |
| 289 |