Hi folks,

Normally I don't like this type of fix for MAXPATHLEN but he seems to be doing it all over the place in the source so... Here is a "fix" for djvulibre:

diff -u djvulibre-3.5.20/gui/shared/QT/qd_print_dialog.cpp djvulibre-3.5.20/gui/shared/QT/qd_print_dialog.cpp
--- djvulibre-3.5.20/gui/shared/QT/qd_print_dialog.cpp
+++ djvulibre-3.5.20/gui/shared/QT/qd_print_dialog.cpp
@@ -106,6 +106,10 @@
# undef EPS
#endif

+#ifndef MAXPATHLEN
+# define MAXPATHLEN 1024
+#endif
+
static const QString print_page_str
  = QT_TRANSLATE_NOOP("QDPrintDialog","of the current page");
static const QString print_custom_str


Thanks,

Barry deFreese


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to