~ubuntu-branches/ubuntu/precise/ncurses/precise

« back to all changes in this revision

Viewing changes to include/nc_alloc.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-11 16:40:32 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081111164032-dudxd0hy2im0f2bj
Tags: 5.7-2ubuntu1
* Merge from debian unstable, remaining changes:
  - On amd64, use /{,usr/}lib32 instead of /emul/ia32-linux/.
  - Link using -Bsymbolic-functions.
  - Don't install the upstream changelog in the runtime library packages.

* Install wide-character patches into /{,usr/}lib32 as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
 * Copyright (c) 1998-2005,2007 Free Software Foundation, Inc.              *
 
2
 * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc.              *
3
3
 *                                                                          *
4
4
 * Permission is hereby granted, free of charge, to any person obtaining a  *
5
5
 * copy of this software and associated documentation files (the            *
27
27
 ****************************************************************************/
28
28
 
29
29
/****************************************************************************
30
 
 *  Author: Thomas E. Dickey <dickey@clark.net> 1996,1997                   *
 
30
 *  Author: Thomas E. Dickey                    1996-on                     *
31
31
 ****************************************************************************/
32
 
/* $Id: nc_alloc.h,v 1.15 2007/02/03 18:40:23 tom Exp $ */
 
32
/* $Id: nc_alloc.h,v 1.16 2008/09/27 22:30:33 tom Exp $ */
33
33
 
34
34
#ifndef NC_ALLOC_included
35
35
#define NC_ALLOC_included 1
39
39
#endif
40
40
 
41
41
#if HAVE_LIBDMALLOC
 
42
#include <string.h>
 
43
#undef strndup          /* workaround for #define in GLIBC 2.7 */
42
44
#include <dmalloc.h>    /* Gray Watson's library */
43
45
#else
44
46
#undef  HAVE_LIBDMALLOC