diff options
| author | Joakim Verona | 2011-09-15 16:11:02 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-09-15 16:11:02 +0200 |
| commit | b728e88fdffdd34065f996682113b072bbc7008c (patch) | |
| tree | c0622d02a303baaf2d6c4db2b50866305ca960e0 /src/doprnt.c | |
| parent | 8d07d23ecd32b9e9f07234313c2e712a8c42b524 (diff) | |
| parent | 39b3d70b17789e237021787ab80ccdd123b97312 (diff) | |
| download | emacs-b728e88fdffdd34065f996682113b072bbc7008c.tar.gz emacs-b728e88fdffdd34065f996682113b072bbc7008c.zip | |
upstream
Diffstat (limited to 'src/doprnt.c')
| -rw-r--r-- | src/doprnt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doprnt.c b/src/doprnt.c index 8db7c0f2ada..b4d13c59137 100644 --- a/src/doprnt.c +++ b/src/doprnt.c | |||
| @@ -486,6 +486,8 @@ esprintf (char *buf, char const *format, ...) | |||
| 486 | return nbytes; | 486 | return nbytes; |
| 487 | } | 487 | } |
| 488 | 488 | ||
| 489 | #if defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT | ||
| 490 | |||
| 489 | /* Format to buffer *BUF of positive size *BUFSIZE, reallocating *BUF | 491 | /* Format to buffer *BUF of positive size *BUFSIZE, reallocating *BUF |
| 490 | and updating *BUFSIZE if the buffer is too small, and otherwise | 492 | and updating *BUFSIZE if the buffer is too small, and otherwise |
| 491 | behaving line esprintf. When reallocating, free *BUF unless it is | 493 | behaving line esprintf. When reallocating, free *BUF unless it is |
| @@ -505,6 +507,8 @@ exprintf (char **buf, ptrdiff_t *bufsize, | |||
| 505 | return nbytes; | 507 | return nbytes; |
| 506 | } | 508 | } |
| 507 | 509 | ||
| 510 | #endif | ||
| 511 | |||
| 508 | /* Act like exprintf, except take a va_list. */ | 512 | /* Act like exprintf, except take a va_list. */ |
| 509 | ptrdiff_t | 513 | ptrdiff_t |
| 510 | evxprintf (char **buf, ptrdiff_t *bufsize, | 514 | evxprintf (char **buf, ptrdiff_t *bufsize, |