/* Process this file with configure to produce config-bsdmodule.h. -*- mode: c -*- */ #ifndef CLICK_CONFIG_BSDMODULE_H #define CLICK_CONFIG_BSDMODULE_H /* Define stuff under a FreeBSD module. */ #ifndef __FreeBSD__ # error "I must be compiled on a FreeBSD machine" #endif #define KERNEL 1 #define _KERNEL 1 #define KLD_MODULE 1 /* Define if your BSD kernel has Click extensions. */ #undef HAVE_CLICK_BSD_KERNEL /* Define if your BSD kernel has polling extensions. */ #undef HAVE_BSD_POLLING /* Define if Click should use an adaptive scheduler to share the CPU(s) more fairly with the kernel. */ #undef HAVE_ADAPTIVE_SCHEDULER /* Include integer and other type definitions. */ #include /* Define assert macro. */ #define assert(x) /* nada */ #ifdef __cplusplus /* Declare operator new. */ void *operator new(size_t) throw (); void *operator new[](size_t) throw (); /* Provide placement new. */ inline void *operator new(size_t, void *v) throw () { return v; } #define HAVE_PLACEMENT_NEW 1 /* Define macros that surround Click declarations. */ #define CLICK_DECLS /* */ #define CLICK_ENDDECLS /* */ #define CLICK_USING_DECLS /* */ #define CLICK_NAME(name) name #endif /* __cplusplus */ #endif /* CLICK_CONFIG_BSDMODULE_H */