aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index bbc97c5e..60369149 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -34,7 +34,10 @@
34#ifndef MHD_PLATFORM_H 34#ifndef MHD_PLATFORM_H
35#define MHD_PLATFORM_H 35#define MHD_PLATFORM_H
36 36
37#ifndef HAVE_USED_MHD_CONFIG_H
38#define HAVE_USED_MHD_CONFIG_H
37#include "MHD_config.h" 39#include "MHD_config.h"
40#endif
38 41
39#ifndef BUILDING_MHD_LIB 42#ifndef BUILDING_MHD_LIB
40#ifdef _MHD_EXTERN 43#ifdef _MHD_EXTERN
@@ -43,7 +46,7 @@
43#if defined(_WIN32) && defined(MHD_W32LIB) 46#if defined(_WIN32) && defined(MHD_W32LIB)
44#define _MHD_EXTERN extern 47#define _MHD_EXTERN extern
45#elif defined (_WIN32) && defined(MHD_W32DLL) 48#elif defined (_WIN32) && defined(MHD_W32DLL)
46#define _MHD_EXTERN __declspec(dllimport) 49#define _MHD_EXTERN __declspec(dllimport)
47#else 50#else
48#define _MHD_EXTERN extern 51#define _MHD_EXTERN extern
49#endif 52#endif
@@ -51,7 +54,7 @@
51#if defined(_WIN32) && defined(MHD_W32LIB) 54#if defined(_WIN32) && defined(MHD_W32LIB)
52#define _MHD_EXTERN extern 55#define _MHD_EXTERN extern
53#elif defined (_WIN32) && defined(MHD_W32DLL) 56#elif defined (_WIN32) && defined(MHD_W32DLL)
54#define _MHD_EXTERN extern __declspec(dllexport) 57#define _MHD_EXTERN extern __declspec(dllexport)
55#else 58#else
56#define _MHD_EXTERN extern 59#define _MHD_EXTERN extern
57#endif 60#endif