File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ DEBUG_SUFFIX = -d
14
14
DEBUG_SUFFIX =
15
15
!endif
16
16
17
- LIBSIGCPP_DEFINES = /DSIGC_BUILD /D_WINDLL
17
+ LIBSIGCPP_DEFINES = /DSIGC_BUILD
18
18
19
19
SIGCPP_BASE_CFLAGS = /I.. /I. /I..\untracked\MSVC_NMake /std:c++17 /EHsc $(CFLAGS )
20
20
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ extra_sigc_objects = []
74
74
75
75
# Make sure we are exporting the symbols from the DLL
76
76
if is_msvc
77
- extra_sigc_cppflags += [' -DSIGC_BUILD' , ' -D_WINDLL ' ]
77
+ extra_sigc_cppflags += [' -DSIGC_BUILD' ]
78
78
endif
79
79
80
80
# 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__)
54
56
#endif /* !SIGC_MSC */
55
57
56
58
#ifdef SIGC_DLL
57
- # if defined( SIGC_BUILD) && defined(_WINDLL)
59
+ # ifdef SIGC_BUILD
58
60
# define SIGC_API __declspec(dllexport)
59
61
# elif !defined(SIGC_BUILD)
60
62
# define SIGC_API __declspec(dllimport)
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
+ #ifndef LIBSIGCXX_STATIC
19
20
#define SIGC_DLL 1
21
+ #endif
20
22
#elif defined(__CYGWIN__ )
21
23
#define SIGC_CONFIGURE 1
22
24
#elif defined(__MINGW32__ )
54
56
#endif /* !SIGC_MSC */
55
57
56
58
#ifdef SIGC_DLL
57
- #if defined( SIGC_BUILD ) && defined( _WINDLL )
59
+ #ifdef SIGC_BUILD
58
60
#define SIGC_API __declspec(dllexport)
59
61
#elif !defined(SIGC_BUILD )
60
62
#define SIGC_API __declspec(dllimport)
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
+ #ifndef LIBSIGCXX_STATIC
22
23
#define SIGC_DLL 1
24
+ #endif
23
25
#elif defined(__CYGWIN__)
24
26
#define SIGC_CONFIGURE 1
25
27
#elif defined(__MINGW32__)
57
59
#endif /* !SIGC_MSC */
58
60
59
61
#ifdef SIGC_DLL
60
- #if defined( SIGC_BUILD) && defined(_WINDLL)
62
+ #ifdef SIGC_BUILD
61
63
#define SIGC_API __declspec(dllexport)
62
64
#elif !defined(SIGC_BUILD)
63
65
#define SIGC_API __declspec(dllimport)
You can’t perform that action at this time.
0 commit comments