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

Comparing ircd-hybrid/trunk/libltdl/libltdl/lt__private.h (file contents):
Revision 4805 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 4806 by michael, Thu Oct 30 19:33:19 2014 UTC

# Line 1 | Line 1
1   /* lt__private.h -- internal apis for libltdl
2  
3 <   Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
3 >   Copyright (C) 2004-2008, 2011-2014 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 28 | Line 28 | or obtained by writing to the Free Softw
28   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
29   */
30  
31 < #if !defined(LT__PRIVATE_H)
31 > #if !defined LT__PRIVATE_H
32   #define LT__PRIVATE_H 1
33  
34 < #if defined(LT_CONFIG_H)
34 > #if defined LT_CONFIG_H
35   #  include LT_CONFIG_H
36   #else
37   #  include <config.h>
# Line 43 | Line 43 | or obtained by writing to the Free Softw
43   #include <errno.h>
44   #include <string.h>
45  
46 < #if defined(HAVE_UNISTD_H)
46 > #if defined HAVE_UNISTD_H
47   #  include <unistd.h>
48   #endif
49  
# Line 56 | Line 56 | or obtained by writing to the Free Softw
56   /* ...and all exported interfaces.  */
57   #include "ltdl.h"
58  
59 < #if defined(WITH_DMALLOC)
59 > #if defined WITH_DMALLOC
60   #  include <dmalloc.h>
61   #endif
62  
63   /* DLL building support on win32 hosts;  mostly to workaround their
64     ridiculous implementation of data symbol exporting. */
65   #ifndef LT_GLOBAL_DATA
66 < # if defined(__WINDOWS__) || defined(__CYGWIN__)
67 < #  if defined(DLL_EXPORT)       /* defined by libtool (if required) */
66 > # if defined __WINDOWS__ || defined __CYGWIN__
67 > #  if defined DLL_EXPORT        /* defined by libtool (if required) */
68   #   define LT_GLOBAL_DATA       __declspec(dllexport)
69   #  endif
70   # endif
# Line 86 | Line 86 | or obtained by writing to the Free Softw
86  
87   LT_BEGIN_C_DECLS
88  
89 < #if !defined(errno)
89 > #if !defined errno
90   extern int errno;
91   #endif
92  
# Line 94 | Line 94 | LT_SCOPE void  lt__alloc_die_callback (vo
94  
95  
96   /* For readability:  */
97 < #define strneq(s1, s2)  (strcmp((s1), (s2)) != 0)
98 < #define streq(s1, s2)   (!strcmp((s1), (s2)))
97 > #define STRNEQ(s1, s2)  (strcmp((s1), (s2)) != 0)
98 > #define STREQ(s1, s2)   (strcmp((s1), (s2)) == 0)
99  
100  
101  
# Line 146 | Line 146 | LT_SCOPE const char *lt__set_last_error
146  
147   LT_END_C_DECLS
148  
149 < #endif /*!defined(LT__PRIVATE_H)*/
149 > #endif /*!defined LT__PRIVATE_H*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines