mirror of https://github.com/ecmwf/eccodes.git
Windows: tests: remove unistd.h
This commit is contained in:
parent
287c0d5c81
commit
e0f916bac9
|
@ -16,7 +16,10 @@
|
|||
/* #include <errno.h> */
|
||||
/* #include <string.h> */
|
||||
#include "grib_api_internal.h"
|
||||
|
||||
#ifndef ECCODES_ON_WINDOWS
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
void usage(char* prog) {
|
||||
printf("usage: %s filename\n",prog);
|
||||
|
|
|
@ -15,7 +15,10 @@
|
|||
#include "grib_api.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifndef ECCODES_ON_WINDOWS
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
static void usage(const char* prog) {
|
||||
printf("usage: %s [-m] file.grib\n",prog);
|
||||
|
|
|
@ -10,7 +10,10 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef ECCODES_ON_WINDOWS
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "grib_api.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue