mirror of https://github.com/ecmwf/eccodes.git
Header guard
This commit is contained in:
parent
66fbbfcbfd
commit
0212dc18d3
|
@ -7,6 +7,9 @@
|
|||
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
|
||||
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
|
||||
*/
|
||||
#ifndef GRIB_TOOLS_H
|
||||
#define GRIB_TOOLS_H
|
||||
|
||||
|
||||
#ifdef __gnu_hurd__
|
||||
#define _FILE_OFFSET_BITS 64 /* 64-bit offsets off_t not the default on Hurd/i386 */
|
||||
|
@ -18,9 +21,6 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifndef GRIB_TOOLS_H
|
||||
#define GRIB_TOOLS_H
|
||||
|
||||
#ifndef S_IFMT
|
||||
#define S_IFMT 0170000 /* type of file */
|
||||
#endif
|
||||
|
@ -208,4 +208,4 @@ int grib_tool_new_filename_action(grib_runtime_options* options, const char* fil
|
|||
int grib_no_handle_action(grib_runtime_options* options, int err);
|
||||
int exit_if_input_is_directory(const char* toolname, const char* filename);
|
||||
|
||||
#endif
|
||||
#endif /* GRIB_TOOLS_H */
|
||||
|
|
Loading…
Reference in New Issue