subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1703243 - /subversion/trunk/subversion/libsvn_subr/utf8proc/utf8proc.h
Date Tue, 15 Sep 2015 16:12:26 GMT
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



Mime
View raw message