|
Revision 919, 1.3 kB
(checked in by shawnw, 1 year ago)
|
1.8.3p3
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
#ifndef _confmagic_h_ |
|---|
| 13 |
#define _confmagic_h_ |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
#ifndef HAS_CRYPT |
|---|
| 19 |
#define crypt(s,t) (s) |
|---|
| 20 |
#endif |
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
#define HAS_IEEE_MATH |
|---|
| 24 |
|
|---|
| 25 |
#ifndef HAVE_SIGCHLD |
|---|
| 26 |
#define SIGCHLD SIGCLD |
|---|
| 27 |
#elif !defined(HAVE_SIGCLD) |
|---|
| 28 |
#define SIGCLD SIGCHLD |
|---|
| 29 |
#endif |
|---|
| 30 |
|
|---|
| 31 |
#ifndef HAVE_STRCOLL |
|---|
| 32 |
#undef strcoll |
|---|
| 33 |
#define strcoll strcmp |
|---|
| 34 |
#endif |
|---|
| 35 |
|
|---|
| 36 |
#ifndef HAVE_SNPRINTF |
|---|
| 37 |
#ifdef HAVE__VSNPRINTF_S |
|---|
| 38 |
#define snprintf sane_snprintf_s |
|---|
| 39 |
int sane_snprintf_s(char *, size_t, const char *, ...); |
|---|
| 40 |
#elif defined(HAVE__SNPRINTF) |
|---|
| 41 |
#define snprintf _snprintf |
|---|
| 42 |
#endif |
|---|
| 43 |
#endif |
|---|
| 44 |
|
|---|
| 45 |
#if !defined(HAVE_VSNPRINTF) |
|---|
| 46 |
#if defined(HAVE__VSNPRINTF_S) |
|---|
| 47 |
#define vsnprintf(str, size, fmt, args) _vsnprintf_s((str), (size), \ |
|---|
| 48 |
_TRUNCATE, \ |
|---|
| 49 |
(fmt), (args)) |
|---|
| 50 |
#elif defined(HAVE__VSNPRINTF) |
|---|
| 51 |
#define vsnprintf _vsnprintf |
|---|
| 52 |
#endif |
|---|
| 53 |
#endif |
|---|
| 54 |
|
|---|
| 55 |
#endif |
|---|
| 56 |
|
|---|