]> git.saurik.com Git - redis.git/blobdiff - src/zmalloc.c
Fixed bug in getClientInfoString() that was not rendering the N (no flags) special...
[redis.git] / src / zmalloc.c
index 5408c2fafaafc1269fdef8ae8fb81299a987e264..56b9140c9ea4bde1fac312a63ef482728b77a2f5 100644 (file)
@@ -38,7 +38,7 @@
 #ifdef HAVE_MALLOC_SIZE
 #define PREFIX_SIZE (0)
 #else
-#if defined(__sun)
+#if defined(__sun) || defined(__sparc) || defined(__sparc__)
 #define PREFIX_SIZE (sizeof(long long))
 #else
 #define PREFIX_SIZE (sizeof(size_t))