mirror of https://github.com/ecmwf/eccodes.git
Header files: Fix broken Windows build
This commit is contained in:
parent
1bb1579ae2
commit
fdc57f8c26
|
@ -1469,7 +1469,8 @@ struct grib_smart_table
|
|||
grib_smart_table_entry* entries;
|
||||
};
|
||||
|
||||
#if defined(ECCODES_TIMER)
|
||||
|
||||
#if ECCODES_TIMER
|
||||
typedef struct grib_timer
|
||||
{
|
||||
struct timeval start_;
|
||||
|
@ -1488,6 +1489,11 @@ typedef struct grib_timer
|
|||
|
||||
struct grib_timer* next_;
|
||||
} grib_timer;
|
||||
#else
|
||||
typedef struct grib_timer
|
||||
{
|
||||
char nothing;
|
||||
} grib_timer;
|
||||
#endif
|
||||
|
||||
typedef struct j2k_encode_helper
|
||||
|
|
Loading…
Reference in New Issue