emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/gc/include/gc_config_macros.h [Boehm-GC]


From: Dave Love
Subject: [Emacs-diffs] Changes to emacs/gc/include/gc_config_macros.h [Boehm-GC]
Date: Mon, 16 Jun 2003 11:41:52 -0400

Index: emacs/gc/include/gc_config_macros.h
diff -c emacs/gc/include/gc_config_macros.h:1.2.2.1 
emacs/gc/include/gc_config_macros.h:1.2.2.2
*** emacs/gc/include/gc_config_macros.h:1.2.2.1 Thu Jun  5 14:23:05 2003
--- emacs/gc/include/gc_config_macros.h Mon Jun 16 11:41:51 2003
***************
*** 19,24 ****
--- 19,27 ----
  #  define GC_DGUX386_THREADS
  # endif
  #endif
+ #if defined(AIX_THREADS)
+ # define GC_AIX_THREADS
+ #endif
  #if defined(HPUX_THREADS)
  # define GC_HPUX_THREADS
  #endif
***************
*** 38,43 ****
--- 41,47 ----
  #if !defined(_REENTRANT) && (defined(GC_SOLARIS_THREADS) \
                             || defined(GC_SOLARIS_PTHREADS) \
                             || defined(GC_HPUX_THREADS) \
+                            || defined(GC_AIX_THREADS) \
                             || defined(GC_LINUX_THREADS))
  # define _REENTRANT
        /* Better late than never.  This fails if system headers that   */
***************
*** 51,57 ****
  # if defined(GC_SOLARIS_PTHREADS) || defined(GC_FREEBSD_THREADS) || \
        defined(GC_IRIX_THREADS) || defined(GC_LINUX_THREADS) || \
        defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS) || \
!       defined(GC_DGUX386_THREADS) || defined(GC_MACOSX_THREADS) || \
          (defined(GC_WIN32_THREADS) && defined(__CYGWIN32__))
  #   define GC_PTHREADS
  # endif
--- 55,62 ----
  # if defined(GC_SOLARIS_PTHREADS) || defined(GC_FREEBSD_THREADS) || \
        defined(GC_IRIX_THREADS) || defined(GC_LINUX_THREADS) || \
        defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS) || \
!       defined(GC_DGUX386_THREADS) || defined(GC_DARWIN_THREADS) || \
!       defined(GC_AIX_THREADS) || \
          (defined(GC_WIN32_THREADS) && defined(__CYGWIN32__))
  #   define GC_PTHREADS
  # endif
***************
*** 79,85 ****
  #   define GC_PTHREADS
  # endif
  # if defined(__APPLE__) && defined(__MACH__) && defined(__ppc__)
! #   define GC_MACOSX_THREADS
  #   define GC_PTHREADS
  # endif
  # if !defined(GC_PTHREADS) && defined(__FreeBSD__)
--- 84,90 ----
  #   define GC_PTHREADS
  # endif
  # if defined(__APPLE__) && defined(__MACH__) && defined(__ppc__)
! #   define GC_DARWIN_THREADS
  #   define GC_PTHREADS
  # endif
  # if !defined(GC_PTHREADS) && defined(__FreeBSD__)
***************
*** 108,114 ****
      typedef long ptrdiff_t;   /* ptrdiff_t is not defined */
  # endif
  
! #if defined(__MINGW32__) && defined(_DLL) && !defined(GC_NOT_DLL)
  # ifdef GC_BUILD
  #   define GC_API __declspec(dllexport)
  # else
--- 113,123 ----
      typedef long ptrdiff_t;   /* ptrdiff_t is not defined */
  # endif
  
! #if defined(_DLL) && !defined(GC_NOT_DLL) && !defined(GC_DLL)
! # define GC_DLL
! #endif
! 
! #if defined(__MINGW32__) && defined(GC_DLL)
  # ifdef GC_BUILD
  #   define GC_API __declspec(dllexport)
  # else
***************
*** 116,124 ****
  # endif
  #endif
  
! #if (defined(__DMC__) || defined(_MSC_VER)) \
!               && (defined(_DLL) && !defined(GC_NOT_DLL) \
!                   || defined(GC_DLL))
  # ifdef GC_BUILD
  #   define GC_API extern __declspec(dllexport)
  # else
--- 125,131 ----
  # endif
  #endif
  
! #if (defined(__DMC__) || defined(_MSC_VER)) && defined(GC_DLL)
  # ifdef GC_BUILD
  #   define GC_API extern __declspec(dllexport)
  # else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]