summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-09-16 14:07:45 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-09-16 14:07:45 +0200
commit9f51baaf7a86680f2195ecdb978f1eb59a8aa734 (patch)
tree94711a04cbc0c6f4801d4c6dbfade6e6f37e29e5
parentb63049f97629a93ec346033e0ec56fc11f34c4fe (diff)
Rework the #ifdef so that i don't get a gcc warning
-rw-r--r--poppler/strtok_r.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/poppler/strtok_r.cpp b/poppler/strtok_r.cpp
index dc35e006..6483e0f7 100644
--- a/poppler/strtok_r.cpp
+++ b/poppler/strtok_r.cpp
@@ -48,13 +48,14 @@
// under GPL version 2 or later
//
// Copyright (C) 2012 Alexey Pavlov <alexpux@gmail.com>
+// Copyright (C) 2012 Albert Astals Cid <aacid@kde.org>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
//
//========================================================================
-#ifdef __MINGW32__ && !defined(__WINPTHREADS_VERSION)
+#if defined(__MINGW32__) && !defined(__WINPTHREADS_VERSION)
#include <string.h>
#define __rawmemchr strchr