Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit d52ee15

Browse files
committed
project: Update for 0.8.2 merge.
1 parent 016f944 commit d52ee15

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

SMP/config.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@
115115
#define HAVE_ISBLANK 1
116116

117117
/* Define to 1 if you have the `strncpy' function. */
118-
#define HAVE_STRNCPY 1
118+
#define HAVE_STRNCPY 1
119+
120+
/* Define to 1 if you have the `strndup' function. */
121+
/* #undef HAVE_STRNDUP */
119122

120123
/* Define to 1 if you have the `cfmakeraw' function. */
121124
/* #undef HAVE_CFMAKERAW */

src/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include <winsock2.h>
3333
#endif
3434

35-
#ifdef _MSC_VER
35+
#if defined(_WIN32) && defined(_MSC_VER) && (!defined(_USRDLL) && !defined(_WINDLL))
3636
#define CONSTRUCTOR_ATTRIBUTE(_func) static void _func(void); \
3737
static int _func ## _wrapper(void) { _func(); return 0; } \
3838
__pragma(section(".CRT$XCU",read)) \

0 commit comments

Comments
 (0)