Commit 696786b0 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Fix POSIX deprecation warnings in MSVC14 (Studio 2005)
  Backports fix 357702

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@357704 13f79535-47bb-0310-9956-ffa450edef68
parent 2e152087
Loading
Loading
Loading
Loading
+5 −0
Changes for support/win32/ApacheMonitor.c: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -31,6 +31,11 @@
#define OEMRESOURCE
#endif

#if defined(_MSC_VER) && _MSC_VER >= 1400
#define _CRT_SECURE_NO_DEPRECATE
#pragma warning(disable: 4996)
#endif

#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
+6 −0
Changes for support/win32/wintty.c: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -35,6 +35,12 @@
 */

#define WIN32_LEAN_AND_MEAN

#if defined(_MSC_VER) && _MSC_VER >= 1400
#define _CRT_SECURE_NO_DEPRECATE
#pragma warning(disable: 4996)
#endif

#include <windows.h>
#include <stdlib.h>
#include <stdio.h>