Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.13-rc2 26 lines 421 B view raw
1/* 2 * Support C++ source use utilities defined in util.h 3 */ 4 5#ifndef PERF_UTIL_UTIL_CXX_H 6#define PERF_UTIL_UTIL_CXX_H 7 8#ifdef __cplusplus 9extern "C" { 10#endif 11 12/* 13 * Now 'new' is the only C++ keyword found in util.h: 14 * in tools/include/linux/rbtree.h 15 * 16 * Other keywords, like class and delete, should be 17 * redefined if necessary. 18 */ 19#define new _new 20#include "util.h" 21#undef new 22 23#ifdef __cplusplus 24} 25#endif 26#endif