httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/os/win32 os.h
Date Fri, 26 May 2000 18:58:45 GMT
wrowe       00/05/26 11:58:45

  Modified:    src/os/win32 os.h
  Log:
    Just cleaning up API_EXPORT...
  
  Revision  Changes    Path
  1.29      +13 -11    apache-2.0/src/os/win32/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/os.h,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- os.h	2000/05/17 01:52:48	1.28
  +++ os.h	2000/05/26 18:58:43	1.29
  @@ -122,17 +122,19 @@
   every configuration function as __stdcall.
   */
   
  -#if 0 /* Handled by APR... */
  -#ifdef SHARED_MODULE
  -# define API_VAR_EXPORT		__declspec(dllimport)
  -# define API_EXPORT(type)    __declspec(dllimport) type __stdcall
  -# define API_EXPORT_NONSTD(type)    __declspec(dllimport) type
  +#if defined(API_EXPORT_SYMBOLS)
  +#define API_VAR_EXPORT		__declspec(dllexport)
  +#define API_EXPORT(type)        __declspec(dllexport) type __stdcall
  +#define API_EXPORT_NONSTD(type) __declspec(dllexport) type
  +#elif defined(API_STATIC)
  +#define API_VAR_EXPORT		
  +#define API_EXPORT(type)        type __stdcall
  +#define API_EXPORT_NONSTD(type) type
   #else
  -# define API_VAR_EXPORT		__declspec(dllexport)
  -# define API_EXPORT(type)    __declspec(dllexport) type __stdcall
  -# define API_EXPORT_NONSTD(type)    __declspec(dllexport) type
  +#define API_VAR_EXPORT		__declspec(dllimport)
  +#define API_EXPORT(type)        __declspec(dllimport) type __stdcall
  +#define API_EXPORT_NONSTD(type) __declspec(dllimport) type
   #endif
  -#endif
   
   #define MODULE_VAR_EXPORT   __declspec(dllexport)
   
  @@ -177,8 +179,8 @@
   API_EXPORT(char *) ap_os_canonical_filename(ap_pool_t *p, const char *file);
   API_EXPORT(char *) ap_os_case_canonical_filename(ap_pool_t *pPool, const char *szFile);
   API_EXPORT(char *) ap_os_systemcase_filename(ap_pool_t *pPool, const char *szFile);
  -int ap_os_is_filename_valid(const char *file);
  -int os_strftime(char *, size_t , const char *, const struct tm *);
  +API_EXPORT(int) ap_os_is_filename_valid(const char *file);
  +API_EXPORT(int) os_strftime(char *, size_t , const char *, const struct tm *);
   
   #define ap_os_dso_error()   ""	/* for now */
   /* Other ap_os_ routines not used by this platform */
  
  
  

Mime
View raw message