summaryrefslogtreecommitdiffstats
path: root/modules/core/mod_watchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/mod_watchdog.h')
-rw-r--r--modules/core/mod_watchdog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/core/mod_watchdog.h b/modules/core/mod_watchdog.h
index c99712f8d7..c7af27f090 100644
--- a/modules/core/mod_watchdog.h
+++ b/modules/core/mod_watchdog.h
@@ -88,6 +88,7 @@ typedef struct ap_watchdog_t ap_watchdog_t;
/* Create a set of AP_WD_DECLARE(type), AP_WD_DECLARE_NONSTD(type) and
* AP_WD_DECLARE_DATA with appropriate export and import tags for the platform
*/
+#if !defined(AP_WD_DECLARE)
#if !defined(WIN32)
#define AP_WD_DECLARE(type) type
#define AP_WD_DECLARE_NONSTD(type) type
@@ -105,6 +106,7 @@ typedef struct ap_watchdog_t ap_watchdog_t;
#define AP_WD_DECLARE_NONSTD(type) __declspec(dllimport) type
#define AP_WD_DECLARE_DATA __declspec(dllimport)
#endif
+#endif
/**
* Callback function used for watchdog.