mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:10:48 +00:00
Updated windows port for new GCC support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20882 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4738fbed16
commit
b5dc5a7008
2 changed files with 14 additions and 0 deletions
|
@ -27,8 +27,17 @@
|
|||
#ifdef GNUSTEP_WITH_DLL
|
||||
|
||||
#if BUILD_libgnustep_gui_DLL
|
||||
#
|
||||
# if defined(__MINGW32__)
|
||||
/* On Mingw, the compiler will export all symbols automatically, so
|
||||
* __declspec(dllexport) is not needed.
|
||||
*/
|
||||
# define APPKIT_EXPORT extern
|
||||
# define APPKIT_DECLARE
|
||||
# else
|
||||
# define APPKIT_EXPORT __declspec(dllexport)
|
||||
# define APPKIT_DECLARE __declspec(dllexport)
|
||||
# endif
|
||||
#else
|
||||
# define APPKIT_EXPORT extern __declspec(dllimport)
|
||||
# define APPKIT_DECLARE __declspec(dllimport)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue