]> granicus.if.org Git - apache/commitdiff
Keep the MSVC++-isms out of the Unix flavor of API_EXPORT().
authorJeff Trawick <trawick@apache.org>
Sat, 27 May 2000 14:22:13 +0000 (14:22 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 27 May 2000 14:22:13 +0000 (14:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85314 13f79535-47bb-0310-9956-ffa450edef68

include/ap_config.h

index b6e7f00b3e290ee23779e524c05aca12a74e767d..669de70d7d585242981d154fb6c4806331a81ea1 100644 (file)
  *   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