mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Use strcasecmp definitions from config.h
This commit is contained in:
parent
3cf75bf088
commit
4fa91d8241
@ -17,7 +17,6 @@
|
||||
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#include "XGetopt.h"
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#include "netcdf.h"
|
||||
|
@ -12,14 +12,9 @@ TODO: make utf8 safe
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include "config.h"
|
||||
#include "ncjson.h"
|
||||
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#define strcasecmp _stricmp
|
||||
#else
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#undef DEBUG
|
||||
|
||||
#define NCJ_OK 0
|
||||
|
@ -3,13 +3,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "nclist.h"
|
||||
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
|
||||
int nclistnull(void* e) {return e == NULL;}
|
||||
|
||||
#ifndef TRUE
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#include "XGetopt.h"
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
@ -11,7 +11,6 @@ Research/Unidata. See \ref copyright file for more info. */
|
||||
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#include "XGetopt.h"
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
@ -76,7 +76,6 @@ THIS SOFTWARE.
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#include <io.h>
|
||||
#include "XGetopt.h"
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#define X_ALIGN 4
|
||||
|
@ -6,13 +6,7 @@
|
||||
* $Header: /upc/share/CVS/netcdf-3/ncgen/ncgen.h,v 1.18 2010/06/01 15:34:53 ed Exp $
|
||||
*********************************************************************/
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <float.h>
|
||||
#include "isnan.h"
|
||||
#ifndef __MINGW32__
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
#endif
|
||||
#include "config.h"
|
||||
|
||||
#ifdef USE_NETCDF4
|
||||
#define CLASSICONLY 0
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#include "XGetopt.h"
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#include "netcdf.h"
|
||||
|
Loading…
Reference in New Issue
Block a user