mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-13 17:18:08 +08:00
re: Issue https://github.com/Unidata/netcdf-c/issues/1999 NCclosedir code is incorrect. Fix. Note that this issue crops up when using a non-VisualStudio windows build such as Mingw because Mingq defines dirent.h, but Visual Studio does not. Addendum: Fix some mingw bugs: 1. Modify XGetopt.h to be conditional on _WIN32 instead of _MSC_VER. 2. Make sure sys/stat.h is included in ncpathmgr.h
67 lines
1.1 KiB
C
67 lines
1.1 KiB
C
/* Copyright 2018-2018 University Corporation for Atmospheric
|
|
Research/Unidata. */
|
|
|
|
/**
|
|
* @file This header file contains the common set of headers
|
|
* in proper order.
|
|
* This header should not be included in
|
|
* code outside libzarr.
|
|
*
|
|
* @author Dennis Heimbigner, Ed Hartnett
|
|
*/
|
|
|
|
#ifndef ZINCLUDES_H
|
|
#define ZINCLUDES_H
|
|
|
|
#include "config.h"
|
|
|
|
#ifndef __cplusplus
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include <string.h>
|
|
#include <stddef.h> /* size_t, ptrdiff_t */
|
|
#include <assert.h>
|
|
#ifdef HAVE_UNISTD_H
|
|
#include <unistd.h>
|
|
#endif
|
|
#endif
|
|
#ifdef _WIN32
|
|
#include <malloc.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "netcdf.h"
|
|
#include "ncdispatch.h"
|
|
#include "nc4internal.h"
|
|
#include "nc4dispatch.h"
|
|
#include "ncuri.h"
|
|
#include "nclist.h"
|
|
#include "ncbytes.h"
|
|
#include "ncauth.h"
|
|
#include "nclog.h"
|
|
#include "ncrc.h"
|
|
#include "ncindex.h"
|
|
|
|
#include "zmap.h"
|
|
#include "zinternal.h"
|
|
#include "zdispatch.h"
|
|
#include "zprovenance.h"
|
|
#include "zodom.h"
|
|
#include "zchunking.h"
|
|
#include "zcache.h"
|
|
#include "zjson.h"
|
|
#include "zarr.h"
|
|
#include "zdebug.h"
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ZINCLUDES_H */
|
|
|
|
|