Bug 1412614 MinGW doesn't have fnmatch.h, correct WebRTC's gflags to inform it of this draft
authorTom Ritter <tom@mozilla.com>
Sat, 28 Oct 2017 02:08:00 -0500
changeset 688252 bbf6f4000ff56c2df8c2f591e185294d327213ad
parent 688251 0e702c5a0086c02fba0ca84c15b1e267fea13e02
child 737828 87fe597058dc1fb3b753a5555369f9b9e72974c5
push id86705
push userbmo:tom@mozilla.com
push dateSun, 29 Oct 2017 04:57:27 +0000
bugs1412614
milestone58.0a1
Bug 1412614 MinGW doesn't have fnmatch.h, correct WebRTC's gflags to inform it of this MozReview-Commit-ID: GOxsFhZ4z2x
media/webrtc/trunk/third_party/gflags/gen/posix/include/private/config.h
--- a/media/webrtc/trunk/third_party/gflags/gen/posix/include/private/config.h
+++ b/media/webrtc/trunk/third_party/gflags/gen/posix/include/private/config.h
@@ -10,17 +10,19 @@
 
 /* Namespace for Google classes */
 #define GOOGLE_NAMESPACE ::google
 
 /* Define to 1 if you have the <dlfcn.h> header file. */
 #define HAVE_DLFCN_H 1
 
 /* Define to 1 if you have the <fnmatch.h> header file. */
+#ifndef __MINGW32__
 #define HAVE_FNMATCH_H 1
+#endif
 
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1
 
 /* Define to 1 if you have the <memory.h> header file. */
 #define HAVE_MEMORY_H 1
 
 /* define if the compiler implements namespaces */