[poppler] poppler/poppler-config.h.cmake poppler/poppler-config.h.in

Pino Toscano pino at kemper.freedesktop.org
Sun May 2 09:46:55 PDT 2010


 poppler/poppler-config.h.cmake |    4 ++++
 poppler/poppler-config.h.in    |    4 ++++
 2 files changed, 8 insertions(+)

New commits:
commit 8f963ccde41ef1faa719254fccc5bdfe75e9fa87
Author: Patrick Spendrin <ps_ml at gmx.de>
Date:   Sun May 2 18:42:10 2010 +0200

    Windows: define strtok_r as strtok_s

diff --git a/poppler/poppler-config.h.cmake b/poppler/poppler-config.h.cmake
index 3185c56..e3bb211 100644
--- a/poppler/poppler-config.h.cmake
+++ b/poppler/poppler-config.h.cmake
@@ -90,6 +90,10 @@
 #define CDECL
 #endif
 
+#if defined(_WIN32)
+#define strtok_r strtok_s
+#endif
+
 //------------------------------------------------------------------------
 // Compiler
 //------------------------------------------------------------------------
diff --git a/poppler/poppler-config.h.in b/poppler/poppler-config.h.in
index fbd28d4..eb2b1a0 100644
--- a/poppler/poppler-config.h.in
+++ b/poppler/poppler-config.h.in
@@ -90,6 +90,10 @@
 #define CDECL
 #endif
 
+#if defined(_WIN32)
+#define strtok_r strtok_s
+#endif
+
 //------------------------------------------------------------------------
 // Compiler
 //------------------------------------------------------------------------


More information about the poppler mailing list