From 9ea7b86fc855764e6e849dc327804aba98237e57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 1 Feb 2004 10:48:30 +0000 Subject: [PATCH] prefix symbols with wx, for smaller risk of collision git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/forcelnk.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/wx/html/forcelnk.h b/include/wx/html/forcelnk.h index 87c6b5a041..42cb66f95f 100644 --- a/include/wx/html/forcelnk.h +++ b/include/wx/html/forcelnk.h @@ -44,8 +44,8 @@ See mod_*.cpp and htmlwin.cpp for example :-) // This must be part of the module you want to force: #define FORCE_LINK_ME(module_name) \ - int _link_dummy_func_##module_name (); \ - int _link_dummy_func_##module_name () \ + int _wx_link_dummy_func_##module_name (); \ + int _wx_link_dummy_func_##module_name () \ { \ return 1; \ } @@ -53,9 +53,9 @@ See mod_*.cpp and htmlwin.cpp for example :-) // And this must be somewhere where it certainly will be linked: #define FORCE_LINK(module_name) \ - extern int _link_dummy_func_##module_name (); \ - static int _link_dummy_var_##module_name = \ - _link_dummy_func_##module_name (); + extern int _wx_link_dummy_func_##module_name (); \ + static int _wx_link_dummy_var_##module_name = \ + _wx_link_dummy_func_##module_name (); #define FORCE_WXHTML_MODULES() \ FORCE_LINK(m_layout) \ -- 2.45.2