* lib/ftruncate.c (_WIN32_WINNT): Use symbolic value _WIN32_WINNT_WIN2K.
* lib/sethostname.c (_WIN32_WINNT): Likewise.
+2017-05-13 Bruno Haible <bruno@clisp.org>
+
+ Use symbolic values for _WIN32_WINNT.
+ * lib/ftruncate.c (_WIN32_WINNT): Use symbolic value _WIN32_WINNT_WIN2K.
+ * lib/sethostname.c (_WIN32_WINNT): Likewise.
+
2017-05-13 Bruno Haible <bruno@clisp.org>
year2038: New module.
/* Ensure that <windows.h> declares GetFileSizeEx. */
# undef _WIN32_WINNT
-# define _WIN32_WINNT 0x500
+# define _WIN32_WINNT _WIN32_WINNT_WIN2K
/* Get declarations of the native Windows API functions. */
# define WIN32_LEAN_AND_MEAN
/* Ensure that <windows.h> declares SetComputerNameEx. */
#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x500
+#define _WIN32_WINNT _WIN32_WINNT_WIN2K
#define WIN32_LEAN_AND_MEAN