From: Jeff Trawick Date: Sat, 27 May 2000 14:22:13 +0000 (+0000) Subject: Keep the MSVC++-isms out of the Unix flavor of API_EXPORT(). X-Git-Tag: APACHE_2_0_ALPHA_4~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f0e895df09f4e5dd3b54fc0088276d60d54690d;p=apache 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 --- 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