Skip to content

Commit bbcba09

Browse files
committed
build: remove check for __declspec(dllexport)
1 parent 37c9abd commit bbcba09

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

build_msvc/bitcoin_config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@
4949
*/
5050
#define HAVE_DECL_SETSID 0
5151

52-
/* Define if the dllexport attribute is supported. */
53-
#define HAVE_DLLEXPORT_ATTRIBUTE 1
54-
5552
/* Define to the address where bug reports for this package should be sent. */
5653
#define PACKAGE_BUGREPORT "https://github.com/bitcoin/bitcoin/issues"
5754

configure.ac

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -943,18 +943,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
943943
[ AC_MSG_RESULT([no])]
944944
)
945945

946-
AC_MSG_CHECKING([for dllexport attribute])
947-
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
948-
__declspec(dllexport) int foo(void);
949-
int main(){}
950-
])],
951-
[
952-
AC_DEFINE([HAVE_DLLEXPORT_ATTRIBUTE], [1], [Define if the dllexport attribute is supported.])
953-
AC_MSG_RESULT([yes])
954-
],
955-
[AC_MSG_RESULT([no])]
956-
)
957-
958946
dnl Check for different ways of gathering OS randomness
959947
AC_MSG_CHECKING([for Linux getrandom function])
960948
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[

0 commit comments

Comments
 (0)