Click
Loading...
Searching...
No Matches
cxxprotect.h
1#ifdef __cplusplus
2# define new linux_new
3# define this linux_this
4# define delete linux_delete
5# define class linux_class
6# define virtual linux_virtual
7# define typename linux_typename
8# define protected linux_protected
9# define public linux_public
10# define namespace linux_namespace
11# define false linux_false
12# define true linux_true
13# undef asmlinkage
14# define asmlinkage
15#endif
16
17#ifndef CLICK_CXX_PROTECT
18# ifdef __cplusplus
19# define CLICK_CXX_PROTECT extern "C" {
20# define CLICK_CXX_UNPROTECT }
21# else
22# define CLICK_CXX_PROTECT /* nothing */
23# define CLICK_CXX_UNPROTECT /* nothing */
24# endif
25#endif
26
27#define CLICK_CXX_PROTECTED 1