diff options
| author | Chris Mayo <aklhfex@gmail.com> | 2019-03-21 19:53:37 +0000 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2019-03-22 13:00:46 +0100 |
| commit | 3182dfb02123ffe5708ea2dd232afa4701f11ddc (patch) | |
| tree | 80c15d5b049bf22cc3c858bdb1971ed2e15d6536 /src | |
| parent | 371cf6dd5de00742e4c6b6ff4465ad02bb3b2a5a (diff) | |
| download | PROJ-3182dfb02123ffe5708ea2dd232afa4701f11ddc.tar.gz PROJ-3182dfb02123ffe5708ea2dd232afa4701f11ddc.zip | |
Build: automatically enable system error messages
Define HAVE_STRERROR during configuration.
Before:
$ cs2cs +proj=latlong +to +proj=latlong dummy
<cs2cs>:
Sys errno: 2: <system mess. texts unavail.>
dummy
After:
$ cs2cs +proj=latlong +to +proj=latlong dummy
<cs2cs>:
Sys errno: 2: No such file or directory
dummy
Diffstat (limited to 'src')
| -rw-r--r-- | src/apps/emess.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apps/emess.cpp b/src/apps/emess.cpp index 144e9e23..52f88aa3 100644 --- a/src/apps/emess.cpp +++ b/src/apps/emess.cpp @@ -20,6 +20,7 @@ #include <string.h> #include "proj_api.h" +#include "proj_config.h" #define EMESS_ROUTINE #include "emess.h" |
