]> git.saurik.com Git - wxWidgets.git/commit - samples/dll/makefile.gcc
Define MY_DLL_BUILDING symbol for dll sample DLL build.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Dec 2009 03:04:39 +0000 (03:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Dec 2009 03:04:39 +0000 (03:04 +0000)
commit9f38fe4bfc3e9dd7d2acaf294d15106490543c6b
tree4b735e7ff9828e9e12038f4b12cf1ce619133f9f
parentc118a47691b0017042d07601a9d9a1eb6cf5f7f7
Define MY_DLL_BUILDING symbol for dll sample DLL build.

This is necessary to properly define MY_DLL_DECL as either WXIMPORT or
WXEXPORT depending on whether my_dll.h is included from DLL itself or from
outside it. Without this, MSVC generated warnings about inconsistent dll
linkage.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
12 files changed:
samples/dll/Makefile.in
samples/dll/dll.bkl
samples/dll/dll_my_dll.dsp
samples/dll/dll_vc7_my_dll.vcproj
samples/dll/dll_vc8_my_dll.vcproj
samples/dll/dll_vc9_my_dll.vcproj
samples/dll/makefile.bcc
samples/dll/makefile.gcc
samples/dll/makefile.vc
samples/dll/makefile.wat
samples/dll/my_dll.cpp
samples/dll/my_dll.h