ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.3/libltdl/libltdl/lt_system.h
(Generate patch)

Comparing ircd-hybrid-7.3/libltdl/libltdl/lt_system.h (file contents):
Revision 1106 by michael, Sun Nov 8 13:10:50 2009 UTC vs.
Revision 1107 by michael, Tue Nov 2 15:19:41 2010 UTC

# Line 1 | Line 1
1   /* lt_system.h -- system portability abstraction layer
2  
3 <   Copyright (C) 2004, 2007 Free Software Foundation, Inc.
3 >   Copyright (C) 2004, 2007, 2010 Free Software Foundation, Inc.
4     Written by Gary V. Vaughan, 2004
5  
6     NOTE: The canonical source of this file is maintained with the
# Line 76 | Line 76 | or obtained by writing to the Free Softw
76   #  endif
77   #endif
78  
79 + /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
80 + #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
81 + /* DATA imports from DLLs on WIN32 con't be const, because runtime
82 +   relocations are performed -- see ld's documentation on pseudo-relocs.  */
83 + # define LT_DLSYM_CONST
84 + #elif defined(__osf__)
85 + /* This system does not cope well with relocations in const data.  */
86 + # define LT_DLSYM_CONST
87 + #else
88 + # define LT_DLSYM_CONST const
89 + #endif
90 +
91   /* Canonicalise Windows and Cygwin recognition macros.
92     To match the values set by recent Cygwin compilers, make sure that if
93     __CYGWIN__ is defined (after canonicalisation), __WINDOWS__ is NOT!  */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines