[gs-cvs] rev 7566 - trunk/gs/src

henrys at ghostscript.com henrys at ghostscript.com
Thu Jan 4 21:19:35 PST 2007


Author: henrys
Date: 2007-01-04 21:19:34 -0800 (Thu, 04 Jan 2007)
New Revision: 7566

Modified:
   trunk/gs/src/gp_mslib.c
   trunk/gs/src/gserror.h
Log:
Changes required for gslite release.  The new error macros did not
work with MSVC version 8.  There are still portability issues with
these macros that preclude regular use in ghostscript but they are
used by a few clients that have "looser" portability requirements.
gp_mslib.c (probably dead code) did not compile.


Modified: trunk/gs/src/gp_mslib.c
===================================================================
--- trunk/gs/src/gp_mslib.c	2007-01-05 01:53:32 UTC (rev 7565)
+++ trunk/gs/src/gp_mslib.c	2007-01-05 05:19:34 UTC (rev 7566)
@@ -25,6 +25,9 @@
  * This is called frequently - it must be quick!
  */
 #ifdef CHECK_INTERRUPTS
+
+#include "gx.h"
+
 int
 gp_check_interrupts(const gs_memory_t *mem)
 {

Modified: trunk/gs/src/gserror.h
===================================================================
--- trunk/gs/src/gserror.h	2007-01-05 01:53:32 UTC (rev 7565)
+++ trunk/gs/src/gserror.h	2007-01-05 05:19:34 UTC (rev 7566)
@@ -24,10 +24,12 @@
 #define gs_note_error(err) gs_log_error(err, __FILE__, __LINE__)
 #define return_error(err) return gs_note_error(err)
 
+# if defined(__WIN32__)
+#define __func__ __FUNCTION__
+# endif
 
-
 /*
- * Error reporting macros
+ * Error reporting macros.
  * 
  */
 



More information about the gs-cvs mailing list