summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-10 15:19:26 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-10 15:19:26 +0200
commitc89762bba98548121e6601a83df91bd328d87013 (patch)
treebc64e9f246b8e42b598bf1478e06bd7a50e333a1 /config.h.cmake
parentb09c2c9dd7e6c2d9881de1b9350659694b36adab (diff)
downloadcmocka-c89762bba98548121e6601a83df91bd328d87013.tar.gz
cmocka-c89762bba98548121e6601a83df91bd328d87013.tar.bz2
cmocka-c89762bba98548121e6601a83df91bd328d87013.zip
src: Fix ValuePointer conversion on 32bit big endian.
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index ab6a457..4a301ad 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -131,6 +131,8 @@
/*************************** ENDIAN *****************************/
+#cmakedefine WORDS_SIZEOF_VOID_P ${WORDS_SIZEOF_VOID_P}
+
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN 1