Index: third_party/freetype/include/freetype/config/ftconfig.h |
diff --git a/third_party/freetype/include/config/ftconfig.h b/third_party/freetype/include/freetype/config/ftconfig.h |
similarity index 95% |
rename from third_party/freetype/include/config/ftconfig.h |
rename to third_party/freetype/include/freetype/config/ftconfig.h |
index 22d70fd35be40280e19149b57e2dc87b9ad26086..d4d79936df1653891c953a1337394678583719ed 100644 |
--- a/third_party/freetype/include/config/ftconfig.h |
+++ b/third_party/freetype/include/freetype/config/ftconfig.h |
@@ -4,7 +4,7 @@ |
/* */ |
/* ANSI-specific configuration file (specification only). */ |
/* */ |
-/* Copyright 1996-2004, 2006-2008, 2010-2011, 2013, 2014 by */ |
+/* Copyright 1996-2015 by */ |
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
/* */ |
/* This file is part of the FreeType project, and may only be used, */ |
@@ -319,11 +319,28 @@ FT_BEGIN_HEADER |
#endif |
+ /*************************************************************************/ |
+ /* */ |
+ /* miscellaneous */ |
+ /* */ |
+ /*************************************************************************/ |
+ |
+ |
#define FT_BEGIN_STMNT do { |
#define FT_END_STMNT } while ( 0 ) |
#define FT_DUMMY_STMNT FT_BEGIN_STMNT FT_END_STMNT |
+ /* typeof condition taken from gnulib's `intprops.h' header file */ |
+#if ( __GNUC__ >= 2 || \ |
+ defined( __IBM__TYPEOF__ ) || \ |
+ ( __SUNPRO_C >= 0x5110 && !__STDC__ ) ) |
+#define FT_TYPEOF( type ) (__typeof__ (type)) |
+#else |
+#define FT_TYPEOF( type ) /* empty */ |
+#endif |
+ |
+ |
#ifdef FT_MAKE_OPTION_SINGLE_OBJECT |
#define FT_LOCAL( x ) static x |