From 2f0e895df09f4e5dd3b54fc0088276d60d54690d Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sat, 27 May 2000 14:22:13 +0000 Subject: [PATCH] Keep the MSVC++-isms out of the Unix flavor of API_EXPORT(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85314 13f79535-47bb-0310-9956-ffa450edef68 --- include/ap_config.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/ap_config.h b/include/ap_config.h index b6e7f00b3e..669de70d7d 100644 --- a/include/ap_config.h +++ b/include/ap_config.h @@ -65,7 +65,12 @@ * MODULE_EXPORT_VAR is a hack that will need to go away */ -#if !defined(WIN32) || defined(API_STATIC) +#if !defined(WIN32) +#define API_EXPORT(type) type +#define API_EXPORT_NONSTD(type) type +#define API_EXPORT_VAR +#define MODULE_EXPORT_VAR +#elif defined(API_STATIC) #define API_EXPORT(type) type __stdcall #define API_EXPORT_NONSTD(type) type #define API_EXPORT_VAR -- 2.40.0