summaryrefslogtreecommitdiffstats
path: root/cython/stdint.pxi
diff options
context:
space:
mode:
Diffstat (limited to 'cython/stdint.pxi')
-rw-r--r--cython/stdint.pxi2
1 files changed, 2 insertions, 0 deletions
diff --git a/cython/stdint.pxi b/cython/stdint.pxi
index e21103f..2617dec 100644
--- a/cython/stdint.pxi
+++ b/cython/stdint.pxi
@@ -5,6 +5,8 @@ cdef extern from *:
ctypedef unsigned int uint32_t
ctypedef int int32_t
IF UNAME_MACHINE == 'x86_64':
+ ctypedef long int int64_t
ctypedef unsigned long int uint64_t
ELSE:
+ ctypedef long long int int64_t
ctypedef unsigned long long int uint64_t