ref: 8925009f79bd047054b05de9c5fba1d9dbb739b5
parent: bd547dc6e38cf5ff349379654eed90adc2bc5a17
author: Werner Lemberg <[email protected]>
date: Tue Sep 26 09:25:15 EDT 2000
Adding missing code for flat compiling mode.
--- a/src/psaux/t1decode.c
+++ b/src/psaux/t1decode.c
@@ -16,12 +16,23 @@
/***************************************************************************/
-#include <psaux/t1decode.h>
-#include <psaux/psobjs.h>
#include <freetype/internal/ftdebug.h> /* for FT_ERROR() */
#include <freetype/internal/t1errors.h>
#include <freetype/ftoutln.h>
#include <freetype/internal/ftdebug.h>
+
+
+#ifdef FT_FLAT_COMPILE
+
+#include "t1decode.h"
+#include "psobjs.h"
+
+#else
+
+#include <psaux/t1decode.h>
+#include <psaux/psobjs.h>
+
+#endif
/*************************************************************************/
--- a/src/psnames/psnames.c
+++ b/src/psnames/psnames.c
@@ -18,7 +18,16 @@
#define FT_MAKE_OPTION_SINGLE_OBJECT
+
+#ifdef FT_FLAT_COMPILE
+
+#include "psmodule.c"
+
+#else
+
#include <psnames/psmodule.c>
+
+#endif
/* END */