[asterisk-commits] russell: branch group/asterisk-cpp r168558 - /team/group/asterisk-cpp/include...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 13 12:56:50 CST 2009


Author: russell
Date: Tue Jan 13 12:56:50 2009
New Revision: 168558

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168558
Log:
resolve some of the linker errors in main/

Modified:
    team/group/asterisk-cpp/include/asterisk/module.h

Modified: team/group/asterisk-cpp/include/asterisk/module.h
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/include/asterisk/module.h?view=diff&rev=168558&r1=168557&r2=168558
==============================================================================
--- team/group/asterisk-cpp/include/asterisk/module.h (original)
+++ team/group/asterisk-cpp/include/asterisk/module.h Tue Jan 13 12:56:50 2009
@@ -241,7 +241,10 @@
 };
 
 static const __attribute((unused)) struct ast_module_info *ast_module_info;
+
+#ifdef AST_MODULE
 static const __attribute((unused)) __ast_module_info_initializer __ast_module_info_initializer__;
+#endif
 
 #define AST_MODULE_INFO(keystr, flags_to_set, desc, load_func, unload_func, reload_func)	\
 	static struct ast_module_info __mod_info = {	\




More information about the asterisk-commits mailing list