fix spew in open source build

These constants are defined in ##folly/Malloc.h## which is being pulled in before the jemalloc and spewing in open source builds.

Closes #673
Esse commit está contido em:
Paul Tarjan
2013-05-17 15:45:32 -07:00
commit de Sara Golemon
commit 0ef4ed7b1f
2 arquivos alterados com 2 adições e 3 exclusões
-3
Ver Arquivo
@@ -19,9 +19,6 @@
#include <bitset>
#include "tbb/concurrent_hash_map.h"
#ifdef USE_JEMALLOC
# include <jemalloc/jemalloc.h>
#endif
#include <atomic>
#include "hphp/runtime/vm/core_types.h"
+2
Ver Arquivo
@@ -33,6 +33,8 @@
# include "malloc.h"
# endif
#else
# undef ALLOCM_ZERO
# undef ALLOCM_NO_MOVE
# include <jemalloc/jemalloc.h>
# ifndef ALLOCM_ARENA
# define ALLOCM_ARENA(a) 0