summaryrefslogtreecommitdiffstats
path: root/Include/pyhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pyhash.h')
-rw-r--r--Include/pyhash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pyhash.h b/Include/pyhash.h
index 83c9281..a7ca937 100644
--- a/Include/pyhash.h
+++ b/Include/pyhash.h
@@ -50,6 +50,7 @@ PyAPI_FUNC(Py_hash_t) _Py_HashBytes(const void*, Py_ssize_t);
* (*) The siphash member may not be available on 32 bit platforms without
* an unsigned int64 data type.
*/
+#ifndef Py_LIMITED_API
typedef union {
/* ensure 24 bytes */
unsigned char uc[24];
@@ -76,6 +77,7 @@ typedef union {
} expat;
} _Py_HashSecret_t;
PyAPI_DATA(_Py_HashSecret_t) _Py_HashSecret;
+#endif
#ifdef Py_DEBUG
PyAPI_DATA(int) _Py_HashSecret_Initialized;