1 base/genht.c: add a preprocessor define to allow fopen calling
3 The commit in upstream:
4 http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643
6 Replace all fopen calls with gp_fopen and add a preprocessor define so
7 that any unintential calls directly to fopen will cause an error.
9 Only exceptions are those in the platform specific code, and mkromfs.c.
10 This patch add a preprocessor define to allow fopen calling in base/genht.c.
12 Upstream-Status: Pending
14 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17 1 file changed, 4 insertions(+)
19 diff --git a/base/genht.c b/base/genht.c
20 index 4b04085..cc82fff 100644
25 /* Generate C code for compiling halftones into ROM. */
28 +/* prevent gp.h from defining fopen */