You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2015/03/02 01:40:28 UTC

svn commit: r1663188 - /subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h

Author: rhuijben
Date: Mon Mar  2 00:40:28 2015
New Revision: 1663188

URL: http://svn.apache.org/r1663188
Log:
Following up on r1663184, also use the system headers for other versions of
Visual C++ that do have the proper headers.

* subversion/libsvn_subr/utf8proc/utf8proc.h
  Use stdint.h for Visual Studio 2010 and later.
  Use stdbool.h for Visual Studio 2013 and later.

Modified:
    subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h

Modified: subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h?rev=1663188&r1=1663187&r2=1663188&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h (original)
+++ subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h Mon Mar  2 00:40:28 2015
@@ -71,8 +71,7 @@
 #include <stdlib.h>
 #include <sys/types.h>
 #ifdef _MSC_VER
-# if _MSC_VER >= 1900
-#   include <stdbool.h>
+# if _MSC_VER >= 1600
 #   include <stdint.h>
 # else
     typedef signed char int8_t;
@@ -80,6 +79,10 @@
     typedef short int16_t;
     typedef unsigned short uint16_t;
     typedef int int32_t;
+# endif
+# if _MSC_VER >= 1800
+#   include <stdbool.h>
+# else
     typedef unsigned char bool;
     enum {false, true};
 # endif