From e24b57ad9f06e5e48eda02f0d79a922797a68a87 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 5 Aug 2008 19:32:50 +0000 Subject: ngx_cpp_test_module --- src/misc/ngx_cpp_test_module.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/misc/ngx_cpp_test_module.cpp (limited to 'src/misc/ngx_cpp_test_module.cpp') diff --git a/src/misc/ngx_cpp_test_module.cpp b/src/misc/ngx_cpp_test_module.cpp new file mode 100644 index 000000000..8f87dcdad --- /dev/null +++ b/src/misc/ngx_cpp_test_module.cpp @@ -0,0 +1,27 @@ + +// stub module to test header files' C++ compatibilty + +extern "C" { + #include + #include + #include + #include + #include + + #include + + #include + #include + #include + #include +} + +// nginx header files should go before other, because they define 64-bit off_t +// #include + + +void +ngx_cpp_test_handler(void *data) +{ + return; +} -- cgit v1.2.3