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/09/15 18:12:26 UTC

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

Author: rhuijben
Date: Tue Sep 15 16:12:26 2015
New Revision: 1703243

URL: http://svn.apache.org/r1703243
Log:
Following up on r1703239, reintroduce a bit of MSVC ugliness
to support old compiler versions.

* subversion/libsvn_subr/utf8proc/utf8proc.h
  (u?int*_t): Define in case they weren't defined.

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=1703243&r1=1703242&r2=1703243&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h (original)
+++ subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h Tue Sep 15 16:12:26 2015
@@ -96,6 +96,14 @@
 #include <stdint.h>
 #else
 #include <apr.h>
+#ifdef _MSC_VER
+typedef apr_int8_t int8_t;
+typedef apr_uint8_t uint8_t;
+typedef apr_int16_t int16_t;
+typedef apr_uint16_t uint16_t;
+typedef apr_int32_t int32_t;
+typedef apr_uint32_t uint32_t;
+#endif
 #endif
 
 #ifdef HAVE_STDBOOL_H