Browse files

fix build on: define own version of ALLOCM_LG_ALIGN

On --platform=gcc-4.6.2-glibc-2.13-fb the build would fail because


defines it's own version of ALLOCM_SUCCESS & co., but not ALLOCM_LG_ALIGN :(

The '#ifdef ALLOCM_SUCCESS' check in 'folly/Malloc.h' would pass even
though we didn't include jemalloc.

Test Plan: build it

Reviewed By:

FB internal diff: D562273
  • Loading branch information...
1 parent 3dd18cd commit f2f512b45cf346e3d505c22d98d381436933c441 @luciang luciang committed with jdelong Aug 30, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 folly/Malloc.h
@@ -84,7 +84,6 @@ __attribute__((weak));
#define ALLOCM_ZERO 64
#define ALLOCM_NO_MOVE 128
-#define ALLOCM_LG_ALIGN(la) (la)

0 comments on commit f2f512b

Please sign in to comment.