Don't use FT_INTERNAL_*_H macros

They work only when FT2_BUILD_LIBRARY is defined and not when we use the shared freetype version.
This commit is contained in:
David Capello 2017-03-15 16:19:56 -03:00
parent 1c47928ad5
commit 08ebdf8015

View File

@ -4,16 +4,13 @@
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#define FT2_BUILD_LIBRARY 1
#include "ft/stream.h"
#include "base/file_handle.h"
#include FT_CONFIG_CONFIG_H
#include FT_INTERNAL_INTERNAL_H
#include FT_INTERNAL_STREAM_H
#include FT_INTERNAL_MEMORY_H
#include <freetype/internal/internal.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/ftmemory.h>
#define STREAM_FILE(stream) ((FILE*)stream->descriptor.pointer)