mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
56 lines
1.0 KiB
C
Executable File
56 lines
1.0 KiB
C
Executable File
/*
|
|
This is part of ncgen, a utility which is part of netCDF. Copyright
|
|
2010, UCAR/Unidata. See COPYRIGHT file for copying and
|
|
redistribution conditions.
|
|
*/
|
|
|
|
/* $Id: includes.h,v 1.7 2010/05/25 18:57:00 dmh Exp $ */
|
|
/* $Header: /upc/share/CVS/netcdf-3/ncgen/includes.h,v 1.7 2010/05/25 18:57:00 dmh Exp $ */
|
|
|
|
#ifndef NCGEN_INCLUDES_H
|
|
#define NCGEN_INCLUDES_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <assert.h>
|
|
#include <ctype.h> /* for isprint() */
|
|
#ifdef HAVE_UNISTD_H
|
|
#include <unistd.h>
|
|
#endif
|
|
|
|
#ifdef __SunOS
|
|
#include <strings.h>
|
|
#endif
|
|
|
|
#ifdef __hpux
|
|
#include <locale.h>
|
|
#endif
|
|
|
|
#include "list.h"
|
|
#include "bytebuffer.h"
|
|
|
|
/* Local Configuration flags*/
|
|
#define ENABLE_BINARY
|
|
#define ENABLE_C
|
|
#define ENABLE_F77
|
|
#define ENABLE_JAVA
|
|
|
|
#include "netcdf.h"
|
|
#include "odom.h"
|
|
#include "data.h"
|
|
#include "ncgen.h"
|
|
#include "genlib.h"
|
|
#include "util.h"
|
|
#include "debug.h"
|
|
|
|
#ifdef HAVE_STRDUP
|
|
#define nulldup(s) ((s)==NULL?NULL:strdup(s))
|
|
#else
|
|
extern char* nulldup(const char*);
|
|
#endif
|
|
|
|
#endif /* NCGEN_INCLUDES_H */
|