export __INFER__ macro when compiling code with infer

Reviewed By: cristianoc

Differential Revision: D3811693

fbshipit-source-id: 4282c0d
master
Andrzej Kotulski 8 years ago committed by Facebook Github Bot 1
parent 3ff6622c9c
commit 49950afe26

@ -7,6 +7,9 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*/ */
// macro to help distinguish between infer compilation and normal one
#define __INFER__ 1
// set _FORTIFY_SOURCE to 0 to prevent it from changing some function prototypes // set _FORTIFY_SOURCE to 0 to prevent it from changing some function prototypes
// https://securityblog.redhat.com/2014/03/26/fortify-and-you/ // https://securityblog.redhat.com/2014/03/26/fortify-and-you/
// We always do it when building models so we should do same thing // We always do it when building models so we should do same thing

Loading…
Cancel
Save