|
Revision 1021, 1.3 KB
(checked in by shawnw, 18 months ago)
|
|
Merged with devel
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * This file was produced by running metaconfig and is intended to be included |
|---|
| 3 | * after config.h and after all the other needed includes have been dealt with. |
|---|
| 4 | * |
|---|
| 5 | * This file may be empty, and should not be edited. Rerun metaconfig instead. |
|---|
| 6 | * If you wish to get rid of this magic, remove this file and rerun metaconfig |
|---|
| 7 | * without the -M option. |
|---|
| 8 | * |
|---|
| 9 | * $Id: Magic_h.U,v 3.0.1.2 1993/11/10 17:32:58 ram Exp $ |
|---|
| 10 | */ |
|---|
| 11 | |
|---|
| 12 | #ifndef _confmagic_h_ |
|---|
| 13 | #define _confmagic_h_ |
|---|
| 14 | |
|---|
| 15 | /* |
|---|
| 16 | * (which isn't exportable from the U.S.), then don't encrypt |
|---|
| 17 | */ |
|---|
| 18 | #ifndef HAS_CRYPT |
|---|
| 19 | #define crypt(s,t) (s) |
|---|
| 20 | #endif |
|---|
| 21 | |
|---|
| 22 | /* You better get with the 90's if this isn't true! */ |
|---|
| 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 | /* Win32 needs size_t to be defined... */ |
|---|
| 40 | #include <crtdefs.h> |
|---|
| 41 | int sane_snprintf_s(char *, size_t, const char *, ...); |
|---|
| 42 | #elif defined(HAVE__SNPRINTF) |
|---|
| 43 | #define snprintf _snprintf |
|---|
| 44 | #endif |
|---|
| 45 | #endif |
|---|
| 46 | |
|---|
| 47 | #if !defined(HAVE_VSNPRINTF) |
|---|
| 48 | #if defined(HAVE__VSNPRINTF_S) |
|---|
| 49 | #define vsnprintf(str, size, fmt, args) _vsnprintf_s((str), (size), \ |
|---|
| 50 | _TRUNCATE, \ |
|---|
| 51 | (fmt), (args)) |
|---|
| 52 | #elif defined(HAVE__VSNPRINTF) |
|---|
| 53 | #define vsnprintf _vsnprintf |
|---|
| 54 | #endif |
|---|
| 55 | #endif |
|---|
| 56 | |
|---|
| 57 | #endif |
|---|