blob: eb0cbcea31c5501c5d1d91bb1004e683f98dfe51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/****************************************************************************
*
* dlgwrap.c
*
* Wrapper file for the 'dlg' library (body only)
*
* Copyright (C) 2020-2021 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
*/
/* We have to duplicate these feature test macros from `dlg.c` */
/* since `freetype.h` loads some affected standard headers. */
/* Try Nelson's flag */
#if defined(__sun)
#define _XOPEN_SOURCE 600
#define _XPG6
#else
#define _XOPEN_SOURCE
#endif
#define _POSIX_C_SOURCE 200809L
#include <freetype/freetype.h>
#ifdef FT_DEBUG_LOGGING
#include "dlg.c"
#else
/* ANSI C doesn't like empty source files */
typedef int _dlg_dummy;
#endif
/* END */
|