libdap++ Updated for version 3.8.2

xdr-datatypes.h

Go to the documentation of this file.
00001 /* xdr-datatypes-config.h.  Generated from xdr-datatypes-config.h.in by configure.  */
00002 
00003 /*
00004   Determine at compile-time the sizes of various XDR datatypes. This uses
00005   symbols defined by configure (See configure.in). pcw 08/13/07
00006 */
00007 
00008 #ifndef __XDR_DATATYPES__
00009 #define __XDR_DATATYPES__
00010 
00011 #ifdef WIN32
00012 #include <rpc.h>
00013 #include <winsock2.h>
00014 #include <xdr.h>
00015 #else
00016 #include <rpc/types.h>
00017 #include <netinet/in.h>
00018 #include <rpc/xdr.h>
00019 #endif
00020 
00021 
00022 #define XDR_INT32 xdr_int32_t
00023 #define XDR_UINT32 xdr_uint32_t
00024 
00025 #define XDR_INT16 xdr_int16_t
00026 #define XDR_UINT16 xdr_uint16_t
00027 
00028 #define XDR_FLOAT64 xdr_double
00029 #define XDR_FLOAT32 xdr_float
00030 
00031 #endif /* __XDR_DATATYPES__ */