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

  Quiet warnings of POSIX deprecation in win32 support sources.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357702 13f79535-47bb-0310-9956-ffa450edef68
parent 4ab510d5
Loading
Loading
Loading
Loading
+5 −0
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>
+5 −0
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@
#include <stdlib.h>
#include <stdio.h>

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

const char *options =
"\nwintty: a utility for echoing the stdin stream to a new console window,\n"
"\teven when invoked from within a service (such as the Apache server.)\n"