You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Wilfredo Sanchez <ws...@apple.com> on 1998/10/19 00:45:27 UTC

[PATCH: ap_config.h]

The __private_extern__ thing is the right thing for OpenStep 4.2 and maybe even
4.0, but not for NeXTStep 3.3 and earlier.  Since I don't have OpenStep and
NeXTStep readily available, it's better if I don't mess with them, so define
ap_private_extern to __private_extern__ only if RHAPSODY is defined.

	-Fred

Index: ap_config.h
===================================================================
RCS file: /CVSRoot/CoreOS/Services/apache/apache/src/include/ap_config.h,v
retrieving revision 1.5
diff -u -d -b -w -r1.5 ap_config.h
--- ap_config.h 1998/10/02 00:41:52     1.5
+++ ap_config.h 1998/10/18 22:42:13
@@ -846,12 +846,12 @@
 #define CORE_EXPORT_NONSTD     API_EXPORT_NONSTD
 #endif

-/* On OpenStep and Rhapsody, symbols that conflict with loaded dylibs
+/* On Mac OS X Server, symbols that conflict with loaded dylibs
  * (eg. System framework) need to be declared as private symbols with
  * __private_extern__.
  * For other systems, make that a no-op.
  */
-#if defined(RHAPSODY) || defined(NEXT)
+#if defined(RHAPSODY)
 #define ap_private_extern __private_extern__
 #else
 #define ap_private_extern

Re: [PATCH: ap_config.h]

Posted by Marc Slemko <ma...@worldgate.com>.
I'm assuming the same thing should happen to regex2.h / regex.h?

On Sun, 18 Oct 1998, Wilfredo Sanchez wrote:

> The __private_extern__ thing is the right thing for OpenStep 4.2 and maybe even
> 4.0, but not for NeXTStep 3.3 and earlier.  Since I don't have OpenStep and
> NeXTStep readily available, it's better if I don't mess with them, so define
> ap_private_extern to __private_extern__ only if RHAPSODY is defined.
> 
> 	-Fred
> 
> Index: ap_config.h
> ===================================================================
> RCS file: /CVSRoot/CoreOS/Services/apache/apache/src/include/ap_config.h,v
> retrieving revision 1.5
> diff -u -d -b -w -r1.5 ap_config.h
> --- ap_config.h 1998/10/02 00:41:52     1.5
> +++ ap_config.h 1998/10/18 22:42:13
> @@ -846,12 +846,12 @@
>  #define CORE_EXPORT_NONSTD     API_EXPORT_NONSTD
>  #endif
> 
> -/* On OpenStep and Rhapsody, symbols that conflict with loaded dylibs
> +/* On Mac OS X Server, symbols that conflict with loaded dylibs
>   * (eg. System framework) need to be declared as private symbols with
>   * __private_extern__.
>   * For other systems, make that a no-op.
>   */
> -#if defined(RHAPSODY) || defined(NEXT)
> +#if defined(RHAPSODY)
>  #define ap_private_extern __private_extern__
>  #else
>  #define ap_private_extern
> 


Re: [PATCH: ap_config.h]

Posted by Marc Slemko <ma...@znep.com>.
Done.

On Sun, 18 Oct 1998, Wilfredo Sanchez wrote:

> | I'm assuming the same thing should happen to regex2.h / regex.h?
> 
>   I forgot about that; yes it should be consistant in both places.
> 
> 	-Fred
> 


Re: [PATCH: ap_config.h]

Posted by Wilfredo Sanchez <ws...@apple.com>.
| I'm assuming the same thing should happen to regex2.h / regex.h?

  I forgot about that; yes it should be consistant in both places.

	-Fred