Hi all, I'd like to suggest a trivial patch to make it easier to build Subversion 1.7 on Windows with older Microsoft and non-Microsoft compilers.
Please see attached. It just applies the same pre-processor condition to the inclusion of crtdbg.h as you already have for the use of functions from crtdbg.h. Regards, Mat -- Mat Booth Software Engineer WANdisco, Inc. http://www.wandisco.com uberSVN: Subversion Made Easy http://www.uberSVN.com Everything you need to deploy Subversion in the Enterprise http://www.wandisco.com/subversion Subversion community http://www.svnforum.org Read our blogs http://blogs.wandisco.com/ Follow us on Twitter http://www.twitter.com/wandisco THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY, AND MAY BE PRIVILEGED. If this message was misdirected, WANdisco, Inc. and its subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.
Index: subversion/libsvn_subr/cmdline.c =================================================================== --- subversion/libsvn_subr/cmdline.c (revision 1183368) +++ subversion/libsvn_subr/cmdline.c (working copy) @@ -32,8 +32,10 @@ #include <fcntl.h> #include <unistd.h> #else +#if _MSC_VER >= 1400 #include <crtdbg.h> #endif +#endif #include <apr_errno.h> /* for apr_strerror */ #include <apr_general.h> /* for apr_initialize/apr_terminate */