| 1 |
/****************************************************************************** |
| 2 |
* Copyright (c) 1998, Frank Warmerdam |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: MIT |
| 5 |
****************************************************************************** |
| 6 |
* |
| 7 |
* cpl_serv.h |
| 8 |
* |
| 9 |
* This include file derived and simplified from the GDAL Common Portability |
| 10 |
* Library. |
| 11 |
*/ |
| 12 |
|
| 13 |
#ifndef CPL_SERV_H_INCLUDED |
| 14 |
#define CPL_SERV_H_INCLUDED |
| 15 |
|
| 16 |
/* ==================================================================== */ |
| 17 |
/* Standard include files. */ |
| 18 |
/* ==================================================================== */ |
| 19 |
|
| 20 |
#include "geo_config.h" |
| 21 |
|
| 22 |
#include "cpl_port.h" |
| 23 |
#include "cpl_string.h" |
| 24 |
|
| 25 |
#define GTIFAtof CPLAtof |
| 26 |
#define GTIFStrtod CPLStrtod |
| 27 |
/* |
| 28 |
* Define an auxiliary symbol to help us to find when the internal cpl_serv.h |
| 29 |
* is used instead of the external one from the geotiff package. |
| 30 |
*/ |
| 31 |
#define CPL_SERV_H_INTERNAL 1 |
| 32 |
|
| 33 |
#define MIN CPL_MIN |
| 34 |
#define MAX CPL_MAX |
| 35 |
#define ABS CPL_ABS |
| 36 |
|
| 37 |
#endif /* ndef CPL_SERV_H_INCLUDED */ |