File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ DEBUG_SUFFIX =
18
18
M4 = m4
19
19
!endif
20
20
21
- LIBSIGCPP_DEFINES = /DSIGC_BUILD /D_WINDLL
21
+ LIBSIGCPP_DEFINES = /DSIGC_BUILD
22
22
23
23
SIGCPP_BASE_CFLAGS = \
24
24
/Ivs$(VSVER ) \$(CFG ) \$(PLAT ) \sigc \
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ extra_sigc_objects = []
70
70
71
71
# Make sure we are exporting the symbols from the DLL
72
72
if is_msvc
73
- extra_sigc_cppflags += [' -DSIGC_BUILD' , ' -D_WINDLL ' ]
73
+ extra_sigc_cppflags += [' -DSIGC_BUILD' ]
74
74
endif
75
75
76
76
# Build the .rc file for Windows builds and link to it
Original file line number Diff line number Diff line change 16
16
# if defined(_MSC_VER )
17
17
# define SIGC_MSC 1
18
18
# define SIGC_WIN32 1
19
- # define SIGC_DLL 1
19
+ # ifndef LIBSIGCXX_STATIC
20
+ # define SIGC_DLL 1
21
+ # endif
20
22
# elif defined(__CYGWIN__ )
21
23
# define SIGC_CONFIGURE 1
22
24
# elif defined(__MINGW32__ )
72
74
#endif /* !SIGC_MSC */
73
75
74
76
#ifdef SIGC_DLL
75
- # if defined( SIGC_BUILD ) && defined( _WINDLL )
77
+ # ifdef SIGC_BUILD
76
78
# define SIGC_API __declspec(dllexport)
77
- # elif !defined(SIGC_BUILD )
78
- # define SIGC_API __declspec(dllimport)
79
79
# else
80
- # define SIGC_API
80
+ # define SIGC_API __declspec(dllimport)
81
81
# endif
82
82
#else /* !SIGC_DLL */
83
83
# define SIGC_API
Original file line number Diff line number Diff line change 19
19
# if defined(_MSC_VER)
20
20
# define SIGC_MSC 1
21
21
# define SIGC_WIN32 1
22
- # define SIGC_DLL 1
22
+ # ifndef LIBSIGCXX_STATIC
23
+ # define SIGC_DLL 1
24
+ # endif
23
25
# elif defined(__CYGWIN__)
24
26
# define SIGC_CONFIGURE 1
25
27
# elif defined(__MINGW32__)
75
77
#endif /* !SIGC_MSC */
76
78
77
79
#ifdef SIGC_DLL
78
- # if defined( SIGC_BUILD) && defined(_WINDLL)
80
+ # ifdef SIGC_BUILD
79
81
# define SIGC_API __declspec(dllexport)
80
- # elif !defined(SIGC_BUILD)
81
- # define SIGC_API __declspec(dllimport)
82
82
# else
83
- # define SIGC_API
83
+ # define SIGC_API __declspec(dllimport)
84
84
# endif
85
85
#else /* !SIGC_DLL */
86
86
# define SIGC_API
You can’t perform that action at this time.
0 commit comments