summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-09-29 19:50:56 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-01 23:48:36 +0200
commit2156f62d2ecddf48844bfa558c7e9bc33edca53c (patch)
treee2407f910c45e2a1599fd5b28fe01fe717266b40 /cmake
parentedd1de3d1c348ef9f5bfc4f602692f4e438e7fcb (diff)
downloadmariadb-git-2156f62d2ecddf48844bfa558c7e9bc33edca53c.tar.gz
portability: use getifaddrs()
instead of exec'ing /usr/sbin/ifconfig|grep|sed|awk
Diffstat (limited to 'cmake')
-rw-r--r--cmake/os/WindowsCache.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/os/WindowsCache.cmake b/cmake/os/WindowsCache.cmake
index 4786108ec8c..8eccf47aa66 100644
--- a/cmake/os/WindowsCache.cmake
+++ b/cmake/os/WindowsCache.cmake
@@ -76,6 +76,7 @@ SET(HAVE_FSYNC CACHE INTERNAL "")
SET(HAVE_FTIME 1 CACHE INTERNAL "")
SET(HAVE_FTRUNCATE CACHE INTERNAL "")
SET(HAVE_GETADDRINFO 1 CACHE INTERNAL "")
+SET(HAVE_GETIFADDRS CACHE INTERNAL "")
SET(HAVE_GETCWD 1 CACHE INTERNAL "")
SET(HAVE_GETHOSTBYADDR_R CACHE INTERNAL "")
SET(HAVE_GETHRTIME CACHE INTERNAL "")