mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-31 17:50:26 +08:00
Corrected an issue on *nix systems
This commit is contained in:
parent
80d2b914a1
commit
2bf5f09bcc
@ -33,10 +33,6 @@ dnl
|
||||
#endif
|
||||
#include <errno.h> /* errno, strerror() */
|
||||
|
||||
#ifndef HAVE_SSIZE_T
|
||||
typedef int ssize_t;
|
||||
#endif
|
||||
|
||||
#include "tests.h"
|
||||
|
||||
define(`EXPECT_ERR',`error("expecting $1 but got %s",nc_err_code_name($2));')dnl
|
||||
|
@ -35,10 +35,6 @@ dnl
|
||||
#include "tests.h"
|
||||
#include "math.h"
|
||||
|
||||
#ifndef HAVE_SSIZE_T
|
||||
typedef int ssize_t;
|
||||
#endif
|
||||
|
||||
define(`EXPECT_ERR',`error("expecting $1 but got %s",nc_err_code_name($2));')dnl
|
||||
|
||||
define(`IntType', `ifdef(`PNETCDF',`MPI_Offset',`size_t')')dnl
|
||||
|
@ -18,6 +18,10 @@
|
||||
#endif
|
||||
#include "error.h"
|
||||
|
||||
#ifndef HAVE_SSIZE_T
|
||||
typedef int ssize_t;
|
||||
#endif
|
||||
|
||||
#if defined(_CRAY) && !defined(_CRAYIEEE) && !defined(__crayx1)
|
||||
#define CRAYFLOAT 1 /* CRAY Floating point */
|
||||
#elif defined(_SX) && defined(_FLOAT2) /* NEC SUPER-UX in CRAY mode */
|
||||
|
Loading…
x
Reference in New Issue
Block a user