• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • Examples
  • File List
  • File Members

lt__glibc.h

Go to the documentation of this file.
00001 /* lt__glibc.h -- support for non glibc environments
00002 
00003    Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
00004    Written by Gary V. Vaughan, 2004
00005 
00006    NOTE: The canonical source of this file is maintained with the
00007    GNU Libtool package.  Report bugs to bug-libtool@gnu.org.
00008 
00009 GNU Libltdl is free software; you can redistribute it and/or
00010 modify it under the terms of the GNU Lesser General Public
00011 License as published by the Free Software Foundation; either
00012 version 2 of the License, or (at your option) any later version.
00013 
00014 As a special exception to the GNU Lesser General Public License,
00015 if you distribute this file as part of a program or library that
00016 is built using GNU Libtool, you may include this file under the
00017 same distribution terms that you use for the rest of that program.
00018 
00019 GNU Libltdl is distributed in the hope that it will be useful,
00020 but WITHOUT ANY WARRANTY; without even the implied warranty of
00021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022 GNU Lesser General Public License for more details.
00023 
00024 You should have received a copy of the GNU Lesser General Public
00025 License along with GNU Libltdl; see the file COPYING.LIB.  If not, a
00026 copy can be downloaded from http://www.gnu.org/licenses/lgpl.html,
00027 or obtained by writing to the Free Software Foundation, Inc.,
00028 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
00029 */
00030 
00031 #if !defined(LT__GLIBC_H)
00032 #define LT__GLIBC_H 1
00033 
00034 #if defined(LT_CONFIG_H)
00035 #  include LT_CONFIG_H
00036 #else
00037 #  include <config.h>
00038 #endif
00039 
00040 #if !defined(HAVE_ARGZ_H) || !defined(HAVE_WORKING_ARGZ)
00041 /* Redefine any glibc symbols we reimplement to import the
00042    implementations into our lt__ namespace so we don't ever
00043    clash with the system library if our clients use argz_*
00044    from there in addition to libltdl.  */
00045 #  undef  argz_append
00046 #  define argz_append           lt__argz_append
00047 #  undef  argz_create_sep
00048 #  define argz_create_sep       lt__argz_create_sep
00049 #  undef  argz_insert
00050 #  define argz_insert           lt__argz_insert
00051 #  undef  argz_next
00052 #  define argz_next             lt__argz_next
00053 #  undef  argz_stringify
00054 #  define argz_stringify        lt__argz_stringify
00055 #endif
00056 
00057 #ifdef __cplusplus
00058 extern "C" {
00059 #endif
00060 
00061 #include <argz.h>
00062 
00063 #ifdef __cplusplus
00064 }
00065 #endif
00066 
00067 # define slist_concat   lt__slist_concat
00068 # define slist_cons     lt__slist_cons
00069 # define slist_delete   lt__slist_delete
00070 # define slist_remove   lt__slist_remove
00071 # define slist_reverse  lt__slist_reverse
00072 # define slist_sort     lt__slist_sort
00073 # define slist_tail     lt__slist_tail
00074 # define slist_nth      lt__slist_nth
00075 # define slist_find     lt__slist_find
00076 # define slist_length   lt__slist_length
00077 # define slist_foreach  lt__slist_foreach
00078 # define slist_box      lt__slist_box
00079 # define slist_unbox    lt__slist_unbox
00080 
00081 #include <slist.h>
00082 
00083 #endif 

Generated on Thu Sep 30 2010 14:35:00 for Gnash by  doxygen 1.7.1