src/w32proc.c (IsValidLocale) [__GNUC__]: Don't declare prototype,
since MinGW's w32api headers do. This avoids compiler warnings.
src/w32.c (FSCTL_GET_REPARSE_POINT) [_MSC_VER || _W64]: Don't define
if already defined.
+2013-03-27 Eli Zaretskii <eliz@gnu.org>
+
+ * w32proc.c (IsValidLocale) [__GNUC__]: Don't declare prototype,
+ since MinGW's w32api headers do. This avoids compiler warnings.
+
+ * w32.c (FSCTL_GET_REPARSE_POINT) [_MSC_VER || _W64]: Don't define
+ if already defined.
+
2013-03-26 Eli Zaretskii <eliz@gnu.org>
* w32.c (_REPARSE_DATA_BUFFER): Condition by _MSVC and _W64.
#ifndef CTL_CODE
#define CTL_CODE(t,f,m,a) (((t)<<16)|((a)<<14)|((f)<<2)|(m))
#endif
+/* MinGW64 defines FSCTL_GET_REPARSE_POINT on winioctl.h. */
+#ifndef FSCTL_GET_REPARSE_POINT
#define FSCTL_GET_REPARSE_POINT \
CTL_CODE(FILE_DEVICE_FILE_SYSTEM, 42, METHOD_BUFFERED, FILE_ANY_ACCESS)
#endif
+#endif
/* TCP connection support. */
#include <sys/socket.h>