mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +00:00
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:
parent
1c47928ad5
commit
08ebdf8015
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user