mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-08-12 02:41:14 +00:00
[mod_tile] Used the wrong preprocessor directive for the getloadavg check
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
|
||||
double get_load_avg(void)
|
||||
{
|
||||
#ifdef HAVE_LOADAVG
|
||||
#ifdef HAVE_GETLOADAVG
|
||||
double loadavg[1];
|
||||
int n = getloadavg(loadavg, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user