projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b6adc3
)
Dont enable 64-bit on Windows
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 26 Nov 2009 08:49:58 +0000
(09:49 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 26 Nov 2009 08:49:58 +0000
(09:49 +0100)
include/yaz/nmem.h
patch
|
blob
|
history
diff --git
a/include/yaz/nmem.h
b/include/yaz/nmem.h
index
39c47eb
..
8e49fee
100644
(file)
--- 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;
+#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) */