summaryrefslogtreecommitdiff
path: root/src/pdflib
diff options
context:
space:
mode:
authorscuri <scuri>2010-11-10 02:55:48 +0000
committerscuri <scuri>2010-11-10 02:55:48 +0000
commit324769ed96e0f952fb23fe36e8660e6a2e70f2e0 (patch)
tree18e13e4d66c3298011824548887ea132ff2111b8 /src/pdflib
parent7e2276df97825b54bfec1414c22beeb8e6b1f9eb (diff)
*** empty log message ***
Diffstat (limited to 'src/pdflib')
-rw-r--r--src/pdflib/pdcore/pc_file.c4
-rw-r--r--src/pdflib/pdflib/p_params.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/pdflib/pdcore/pc_file.c b/src/pdflib/pdcore/pc_file.c
index 42a7a02..1fb014b 100644
--- a/src/pdflib/pdcore/pc_file.c
+++ b/src/pdflib/pdcore/pc_file.c
@@ -10,7 +10,7 @@
| |
*---------------------------------------------------------------------------*/
-/* $Id: pc_file.c,v 1.3 2010/01/27 02:27:21 scuri Exp $
+/* $Id: pc_file.c,v 1.4 2010/11/10 02:55:49 scuri Exp $
*
* Various file routines
*
@@ -53,7 +53,7 @@
#include <ssdef.h>
#endif
-#if defined(WIN32) && !defined(__BORLANDC__)
+#if defined(WIN32) && !defined(__BORLANDC__) && !defined(__CYGWIN__)
#ifndef _IOB_ENTRIES
#define _IOB_ENTRIES 20
diff --git a/src/pdflib/pdflib/p_params.c b/src/pdflib/pdflib/p_params.c
index efe2c87..4a41603 100644
--- a/src/pdflib/pdflib/p_params.c
+++ b/src/pdflib/pdflib/p_params.c
@@ -10,7 +10,7 @@
| |
*---------------------------------------------------------------------------*/
-/* $Id: p_params.c,v 1.2 2009/10/20 18:14:16 scuri Exp $
+/* $Id: p_params.c,v 1.3 2010/11/10 02:55:49 scuri Exp $
*
* PDFlib parameter handling
*
@@ -578,7 +578,7 @@ pdf__set_value(PDF *p, const char *key, double value)
switch (i)
{
-#if defined(WIN32) && !defined(__BORLANDC__)
+#if defined(WIN32) && !defined(__BORLANDC__) && !defined(__CYGWIN__)
case PDF_PARAMETER_MAXFILEHANDLES:
ivalue = pdc_set_maxfilehandles(p->pdc, ivalue);
if (ivalue == -1)
@@ -847,7 +847,7 @@ pdf__get_value(PDF *p, const char *key, double mod)
switch (i)
{
-#if defined(WIN32) && !defined(__BORLANDC__)
+#if defined(WIN32) && !defined(__BORLANDC__) && !defined(__CYGWIN__)
case PDF_PARAMETER_MAXFILEHANDLES:
result = (double) pdc_get_maxfilehandles();
break;