summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2010-09-09 20:34:03 +0100
committerAlbert Astals Cid <aacid@kde.org>2010-09-09 20:34:03 +0100
commit7574912b6c0ff0421c69b6e8c6835957d5126d7d (patch)
tree6ee5fa31e7eb6b2c2bb933680215f76aca861e9b /utils
parent2fc83068c32e09fa3de03a157a420490431ea706 (diff)
Fix checking whether _WIN32 is defined
Bug 29329
Diffstat (limited to 'utils')
-rw-r--r--utils/pdftoppm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/pdftoppm.cc b/utils/pdftoppm.cc
index 14950d01..c4cc43b3 100644
--- a/utils/pdftoppm.cc
+++ b/utils/pdftoppm.cc
@@ -183,7 +183,7 @@ static void savePageSlice(PDFDoc *doc,
bitmap->writePNMFile(ppmFile);
}
} else {
-#if _WIN32
+#ifdef _WIN32
setmode(fileno(stdout), O_BINARY);
#endif