mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
add stpcpy for solaris
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1795 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9859c0d3d4
commit
732e067ae5
@ -148,6 +148,19 @@ ultostr (unsigned long val, int base)
|
|||||||
return strdup (buf);
|
return strdup (buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/********************************************************************\
|
||||||
|
* stpcpy for those platforms that don't have it.
|
||||||
|
\********************************************************************/
|
||||||
|
|
||||||
|
#ifndef HAVE_STPCPY
|
||||||
|
char *
|
||||||
|
stpcpy (char *dest, const char *src)
|
||||||
|
{
|
||||||
|
strcpy(dest, src);
|
||||||
|
return(dest + strlen(src));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/********************************************************************\
|
/********************************************************************\
|
||||||
* currency & locale related stuff.
|
* currency & locale related stuff.
|
||||||
* first attempt at internationalization i18n of currency amounts
|
* first attempt at internationalization i18n of currency amounts
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
/* The debuging macros enable the setting of trace messages */
|
/* The debuging macros enable the setting of trace messages */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#if HAVE_NANA_H
|
#ifdef HAVE_NANA_H
|
||||||
#include <nana.h>
|
#include <nana.h>
|
||||||
|
|
||||||
/* override standard system assert with nana I assertion */
|
/* override standard system assert with nana I assertion */
|
||||||
|
Loading…
Reference in New Issue
Block a user