libclc was defining and undefing GENTYPE and several other macros with common names in its header files. This was preventing applications from defining macros with identical names as command line arguments to the compiler, because the definitions in the header files were masking the macros defined as compiler arguements. Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 185838
12 lines
192 B
C
12 lines
192 B
C
#undef fmax
|
|
#define fmax __clc_fmax
|
|
|
|
#define __CLC_BODY <clc/math/binary_decl.inc>
|
|
#define __CLC_FUNCTION __clc_fmax
|
|
|
|
#include <clc/math/gentype.inc>
|
|
|
|
#undef __CLC_BODY
|
|
#undef __CLC_FUNCTION
|
|
|