/[emacs]/emacs/gc/include/gc_config_macros.h
ViewVC logotype

Diff of /emacs/gc/include/gc_config_macros.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.1 by fx, Thu Jun 5 18:23:05 2003 UTC revision 1.2.2.2 by fx, Mon Jun 16 15:41:51 2003 UTC
# Line 19  Line 19 
19  #  define GC_DGUX386_THREADS  #  define GC_DGUX386_THREADS
20  # endif  # endif
21  #endif  #endif
22    #if defined(AIX_THREADS)
23    # define GC_AIX_THREADS
24    #endif
25  #if defined(HPUX_THREADS)  #if defined(HPUX_THREADS)
26  # define GC_HPUX_THREADS  # define GC_HPUX_THREADS
27  #endif  #endif
# Line 38  Line 41 
41  #if !defined(_REENTRANT) && (defined(GC_SOLARIS_THREADS) \  #if !defined(_REENTRANT) && (defined(GC_SOLARIS_THREADS) \
42                               || defined(GC_SOLARIS_PTHREADS) \                               || defined(GC_SOLARIS_PTHREADS) \
43                               || defined(GC_HPUX_THREADS) \                               || defined(GC_HPUX_THREADS) \
44                                 || defined(GC_AIX_THREADS) \
45                               || defined(GC_LINUX_THREADS))                               || defined(GC_LINUX_THREADS))
46  # define _REENTRANT  # define _REENTRANT
47          /* Better late than never.  This fails if system headers that   */          /* Better late than never.  This fails if system headers that   */
# Line 51  Line 55 
55  # if defined(GC_SOLARIS_PTHREADS) || defined(GC_FREEBSD_THREADS) || \  # if defined(GC_SOLARIS_PTHREADS) || defined(GC_FREEBSD_THREADS) || \
56          defined(GC_IRIX_THREADS) || defined(GC_LINUX_THREADS) || \          defined(GC_IRIX_THREADS) || defined(GC_LINUX_THREADS) || \
57          defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS) || \          defined(GC_HPUX_THREADS) || defined(GC_OSF1_THREADS) || \
58          defined(GC_DGUX386_THREADS) || defined(GC_MACOSX_THREADS) || \          defined(GC_DGUX386_THREADS) || defined(GC_DARWIN_THREADS) || \
59            defined(GC_AIX_THREADS) || \
60          (defined(GC_WIN32_THREADS) && defined(__CYGWIN32__))          (defined(GC_WIN32_THREADS) && defined(__CYGWIN32__))
61  #   define GC_PTHREADS  #   define GC_PTHREADS
62  # endif  # endif
# Line 79  Line 84 
84  #   define GC_PTHREADS  #   define GC_PTHREADS
85  # endif  # endif
86  # if defined(__APPLE__) && defined(__MACH__) && defined(__ppc__)  # if defined(__APPLE__) && defined(__MACH__) && defined(__ppc__)
87  #   define GC_MACOSX_THREADS  #   define GC_DARWIN_THREADS
88  #   define GC_PTHREADS  #   define GC_PTHREADS
89  # endif  # endif
90  # if !defined(GC_PTHREADS) && defined(__FreeBSD__)  # if !defined(GC_PTHREADS) && defined(__FreeBSD__)
# Line 108  Line 113 
113      typedef long ptrdiff_t;     /* ptrdiff_t is not defined */      typedef long ptrdiff_t;     /* ptrdiff_t is not defined */
114  # endif  # endif
115    
116  #if defined(__MINGW32__) && defined(_DLL) && !defined(GC_NOT_DLL)  #if defined(_DLL) && !defined(GC_NOT_DLL) && !defined(GC_DLL)
117    # define GC_DLL
118    #endif
119    
120    #if defined(__MINGW32__) && defined(GC_DLL)
121  # ifdef GC_BUILD  # ifdef GC_BUILD
122  #   define GC_API __declspec(dllexport)  #   define GC_API __declspec(dllexport)
123  # else  # else
# Line 116  Line 125 
125  # endif  # endif
126  #endif  #endif
127    
128  #if (defined(__DMC__) || defined(_MSC_VER)) \  #if (defined(__DMC__) || defined(_MSC_VER)) && defined(GC_DLL)
                 && (defined(_DLL) && !defined(GC_NOT_DLL) \  
                     || defined(GC_DLL))  
129  # ifdef GC_BUILD  # ifdef GC_BUILD
130  #   define GC_API extern __declspec(dllexport)  #   define GC_API extern __declspec(dllexport)
131  # else  # else

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26