aboutsummaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-09 12:09:18 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-09 12:09:18 -0400
commit40b7dfaed2714d727c1e6bcead96cb798b14dffa (patch)
tree77cda98977c407e240d5830b0257edc44320857f /src/ext
parent1eea7a68ed1534493ba2def4e2086fe8d9046e74 (diff)
downloadtor-40b7dfaed2714d727c1e6bcead96cb798b14dffa.tar.gz
tor-40b7dfaed2714d727c1e6bcead96cb798b14dffa.zip
Remove now-pointless SIZE_MAX stanza from OpenBSD_malloc_linux
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/OpenBSD_malloc_Linux.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ext/OpenBSD_malloc_Linux.c b/src/ext/OpenBSD_malloc_Linux.c
index e296a77be9..855c912310 100644
--- a/src/ext/OpenBSD_malloc_Linux.c
+++ b/src/ext/OpenBSD_malloc_Linux.c
@@ -1961,16 +1961,6 @@ realloc(void *ptr, size_t size)
return (r);
}
-#ifndef SIZE_MAX
-//#if defined(__i386__)||defined(__arm__)||defined(__powerpc__)
-//#define SIZE_MAX 0xffffffff
-//#endif
-//#if defined(__x86_64__)
-//#define SIZE_MAX 0xffffffffffffffff
-//#endif
-#define SIZE_MAX SIZE_MAX
-#endif
-
void *
calloc(size_t num, size_t size)
{