httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/include ap_config.h
Date Sat, 27 May 2000 14:22:15 GMT
trawick     00/05/27 07:22:14

  Modified:    src/include ap_config.h
  Log:
  Keep the MSVC++-isms out of the Unix flavor of API_EXPORT().
  
  Revision  Changes    Path
  1.27      +6 -1      apache-2.0/src/include/ap_config.h
  
  Index: ap_config.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/include/ap_config.h,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- ap_config.h	2000/05/27 05:27:32	1.26
  +++ ap_config.h	2000/05/27 14:22:13	1.27
  @@ -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
  
  
  

Mime
View raw message