diff options
| author | Kurt Schwehr <schwehr@google.com> | 2018-05-15 13:42:20 -0700 |
|---|---|---|
| committer | Kurt Schwehr <schwehr@google.com> | 2018-05-15 13:42:20 -0700 |
| commit | 1e8824517900d37232468b9e3d7f3724e7ffa786 (patch) | |
| tree | 832a1a4c344cad4d4edfbea9b84adddd63e0001e /src/proj_api.h | |
| parent | ae40f8d2e407d98b75973dcbe4eb4cf5d3cb87a3 (diff) | |
| download | PROJ-1e8824517900d37232468b9e3d7f3724e7ffa786.tar.gz PROJ-1e8824517900d37232468b9e3d7f3724e7ffa786.zip | |
IWYU: Partial PJ_natearth.c..rtodms.c
Diffstat (limited to 'src/proj_api.h')
| -rw-r--r-- | src/proj_api.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/proj_api.h b/src/proj_api.h index 5bba5887..36187441 100644 --- a/src/proj_api.h +++ b/src/proj_api.h @@ -25,16 +25,16 @@ * DEALINGS IN THE SOFTWARE. *****************************************************************************/ - /* +/* * This version number should be updated with every release! * * This file is expected to be removed from the PROJ distribution * when a few minor-version releases has been made. * */ - #ifndef PJ_VERSION - #define PJ_VERSION 500 - #endif +#ifndef PJ_VERSION +#define PJ_VERSION 500 +#endif /* If we're not asked for PJ_VERSION only, give them everything */ @@ -43,16 +43,17 @@ #ifndef PROJ_API_H #define PROJ_API_H -#ifdef __cplusplus -extern "C" { -#endif - - /* standard inclusions */ #include <math.h> +#include <stddef.h> #include <stdlib.h> +#ifdef __cplusplus +extern "C" { +#endif + + /* pj_init() and similar functions can be used with a non-C locale */ /* Can be detected too at runtime if the symbol pj_atof exists */ #define PJ_LOCALE_SAFE 1 |
