summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2002-03-13 09:39:09 +0000
committerDavid Turner <david@freetype.org>2002-03-13 09:39:09 +0000
commit04baeb8997f265c41c67544d232ff775090a0381 (patch)
treebfcd6a62e72cea72774dd27ca6513c83cf94e346
parent8acb07fc45b2e160b89ce25cd1151a8ef6388028 (diff)
downloadfreetype2-04baeb8997f265c41c67544d232ff775090a0381.tar.gz
* include/freetype/config/ftoption.h: changed the automatic detection
of Microsoft C compilers to automatically support 64-bit integers only since revision 9.00 (i.e. >= Visual C++ 2.0)
-rw-r--r--ChangeLog6
-rw-r--r--include/freetype/config/ftconfig.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a1a726f8..724395802 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-13 Antoine Leca <antoine@oriolnet.com>
+
+ * include/freetype/config/ftoption.h: changed the automatic detection
+ of Microsoft C compilers to automatically support 64-bit integers only
+ since revision 9.00 (i.e. >= Visual C++ 2.0)
+
2002-03-08 David Turner <david@freetype.org>
* Version 2.0.9 Released.
diff --git a/include/freetype/config/ftconfig.h b/include/freetype/config/ftconfig.h
index f990c90be..1894e376b 100644
--- a/include/freetype/config/ftconfig.h
+++ b/include/freetype/config/ftconfig.h
@@ -150,7 +150,7 @@ FT_BEGIN_HEADER
#define FT_LONG64
#define FT_INT64 long
-#elif defined( _MSC_VER ) /* Visual C++ (and Intel C++) */
+#elif defined( _MSC_VER ) && _MSC_VER >= 900 /* Visual C++ (and Intel C++) */
/* this compiler provides the __int64 type */
#define FT_LONG64