X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=include%2Fyaz%2Fnmem.h;h=8e49fee474f6a38816a63747940ab1d99b20fe3d;hb=10c562bc3ccaaa440189f279ca562327612f87c6;hp=936432384afe62ec3eb0abcc2d5bfd72010e6e23;hpb=8356ea58313ee1f350226172cf99bfb0b7c5583c;p=yaz-moved-to-github.git diff --git a/include/yaz/nmem.h b/include/yaz/nmem.h index 9364323..8e49fee 100644 --- a/include/yaz/nmem.h +++ b/include/yaz/nmem.h @@ -43,8 +43,14 @@ YAZ_BEGIN_CDECL /** \brief NMEM handle (an opaque pointer to memory) */ typedef struct nmem_control *NMEM; -/** \brief Set to 1 if YAZ BER integer is 64-bit ; 0 otherwise */ +#ifdef _MSC_VER #define NMEM_64 0 +#endif + +/** \brief Set to 1 if YAZ BER integer is 64-bit ; 0 otherwise */ +#ifndef NMEM_64 +#define NMEM_64 1 +#endif #if NMEM_64 /** \brief BER/utility integer (64-bit or more) */