mirror of https://github.com/ecmwf/eccodes.git
GRIB-357: improve portablity (for MinGW on Windows)
This commit is contained in:
parent
95b82e663a
commit
a167723a8e
|
@ -27,7 +27,7 @@ extern "C" {
|
|||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#ifndef GRIB_ON_WINDOWS
|
||||
#include <sys/times.h>
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
@ -9,14 +9,15 @@
|
|||
*/
|
||||
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
#if GRIB_TIMER
|
||||
|
||||
#ifndef GRIB_ON_WINDOWS
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
# include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
#if GRIB_TIMER
|
||||
|
||||
static grib_timer *timers = NULL;
|
||||
int false=0;
|
||||
int true=1;
|
||||
|
|
Loading…
Reference in New Issue