Fix bug 724485 - don't typedef long intptr_t if _MSC_VER >= 1400. r=philipp
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Mon, 06 Feb 2012 01:19:00 +0100
changeset 10800 0dd576f063aa5356a24ac3e04121b0f7695efea6
parent 10799 39cbc736f3e0000c8f74ee82b801baffa53da774
child 10801 e8afafcf0a12de09725607b4e8ab2d30ca87f58f
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilipp
bugs724485
Fix bug 724485 - don't typedef long intptr_t if _MSC_VER >= 1400. r=philipp
calendar/libical/src/libical/icalrecur.c
--- a/calendar/libical/src/libical/icalrecur.c
+++ b/calendar/libical/src/libical/icalrecur.c
@@ -142,17 +142,17 @@
 #ifdef WIN32
 #define snprintf _snprintf
 #endif
 
 
 #include <limits.h>
 
 #ifndef HAVE_INTPTR_T
-#if (defined (WIN32) && !defined (__MINGW32__)) || defined (XP_BEOS)
+#if (defined (_MSC_VER) && _MSC_VER < 1400) || defined (XP_BEOS)
 typedef long intptr_t;
 #endif
 #endif
 
 #ifdef WIN32
 #define strcasecmp      stricmp
 #endif