aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/printf_hook.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2009-04-24 05:32:17 +0200
committerTobias Brunner <tobias@strongswan.org>2009-04-24 05:32:17 +0200
commitbf45d6dd3ba921dc48c5ef402d1ca2f1575fc190 (patch)
tree4b0db14585ce757a8ef583b6fc9251ec1551486d /src/libstrongswan/printf_hook.h
parentbcbf110938cfb630bbf752b778e9be30e13eb735 (diff)
downloadstrongswan-bf45d6dd3ba921dc48c5ef402d1ca2f1575fc190.tar.bz2
strongswan-bf45d6dd3ba921dc48c5ef402d1ca2f1575fc190.tar.xz
added a configure option to enable the Vstr string library even if register_printf_function is available
Diffstat (limited to 'src/libstrongswan/printf_hook.h')
-rw-r--r--src/libstrongswan/printf_hook.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/printf_hook.h b/src/libstrongswan/printf_hook.h
index 2d70a58c4..02c973580 100644
--- a/src/libstrongswan/printf_hook.h
+++ b/src/libstrongswan/printf_hook.h
@@ -26,7 +26,7 @@ typedef struct printf_hook_t printf_hook_t;
typedef struct printf_hook_spec_t printf_hook_spec_t;
typedef enum printf_hook_argtype_t printf_hook_argtype_t;
-#ifdef HAVE_PRINTF_HOOKS
+#if defined(HAVE_PRINTF_HOOKS) && !defined(USE_VSTR)
#include <stdio.h>
#include <printf.h>