Remove configure cruft -- Interlocked and GetProcessId. (mono/mono#15633)
authorJay Krell <jaykrell@microsoft.com>
Thu, 11 Jul 2019 11:39:12 +0000 (04:39 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 11 Jul 2019 11:39:11 +0000 (13:39 +0200)
They are never checked and all relevant systems have all of them.

Commit migrated from https://github.com/mono/mono/commit/2950bd39e14586c3052baaea59b39ef67f3138b6

src/mono/configure.ac
src/mono/winconfig.h

index da89d67..b2e2875 100644 (file)
@@ -3943,13 +3943,6 @@ else
        ], [
                AC_MSG_RESULT(no)
        ])
-
-       AC_CHECK_DECLS(InterlockedExchange64, [], [], [[#include <windows.h>]])
-       AC_CHECK_DECLS(InterlockedCompareExchange64, [], [], [[#include <windows.h>]])
-       AC_CHECK_DECLS(InterlockedDecrement64, [], [], [[#include <windows.h>]])
-       AC_CHECK_DECLS(InterlockedIncrement64, [], [], [[#include <windows.h>]])
-       AC_CHECK_DECLS(InterlockedAdd, [], [], [[#include <windows.h>]])
-       AC_CHECK_DECLS(InterlockedAdd64, [], [], [[#include <windows.h>]])
 fi
 
 dnl socklen_t check
index 28a282a..ef6317f 100644 (file)
 /* Have /dev/random */
 #define HAVE_CRYPT_RNG 1
 
-/* Define to 1 if you have the declaration of `InterlockedAdd',
-   and to 0 if you don't. */
-#define HAVE_DECL_INTERLOCKEDADD 1
-
-/* Define to 1 if you have the declaration of `InterlockedAdd64',
-   and to 0 if you don't. */
-#define HAVE_DECL_INTERLOCKEDADD64 1
-
-/* Define to 1 if you have the declaration of `InterlockedCompareExchange64',
-   and to 0 if you don't. */
-#define HAVE_DECL_INTERLOCKEDCOMPAREEXCHANGE64 1
-
-/* Define to 1 if you have the declaration of `InterlockedDecrement64',
-   and to 0 if you don't. */
-#define HAVE_DECL_INTERLOCKEDDECREMENT64 1
-
-/* Define to 1 if you have the declaration of `InterlockedExchange64',
-   and to 0 if you don't. */
-#define HAVE_DECL_INTERLOCKEDEXCHANGE64 1
-
-/* Define to 1 if you have the declaration of `InterlockedIncrement64',
-   and to 0 if you don't. */
-#define HAVE_DECL_INTERLOCKEDINCREMENT64 1
-
 /* Define to 1 if you have the `getaddrinfo' function. */
 #define HAVE_GETADDRINFO 1
 
@@ -94,9 +70,6 @@
 /* Define to 1 if you have the `getprotobyname' function. */
 #define HAVE_GETPROTOBYNAME 1
 
-/* Define to 1 if you have the `GetProcessId' function. */
-#define HAVE_GETPROCESSID 1
-
 /* Have inet_ntop */
 #define HAVE_INET_NTOP 1