summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c')
-rw-r--r--Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c b/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c
new file mode 100644
index 00000000000..639411543ee
--- /dev/null
+++ b/Build/source/libs/freetype2/freetype-src/src/dlg/dlgwrap.c
@@ -0,0 +1,35 @@
+/****************************************************************************
+ *
+ * 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. */
+#define _XOPEN_SOURCE
+#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 */