| 1 |
/* Win32 config.h for MINC |
| 2 |
* |
| 3 |
* Author: Bert Vincent |
| 4 |
* |
| 5 |
* $Header: /private-cvsroot/minc/libsrc/config.h.msvc-win32,v 6.3 2005-07-18 22:19:01 bert Exp $ |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef _CONFIG_H_ |
| 9 |
#define _CONFIG_H_ 1 |
| 10 |
|
| 11 |
#define HAVE_FCNTL_H 1 |
| 12 |
#define HAVE_FLOAT_H 1 |
| 13 |
#define HAVE_MEMORY_H 1 |
| 14 |
#define HAVE_STDINT_H 1 |
| 15 |
#define HAVE_STDLIB_H 1 |
| 16 |
#define HAVE_STRING_H 1 |
| 17 |
#define HAVE_SYS_STAT_H 1 |
| 18 |
#define HAVE_SYS_TYPES_H 1 |
| 19 |
#define HAVE_TEMPNAM 1 |
| 20 |
#define HAVE_TMPNAM 1 |
| 21 |
#define STDC_HEADERS 1 |
| 22 |
#define VERSION "2.0.09" |
| 23 |
#define sleep(x) _sleep(x) |
| 24 |
#define snprintf _snprintf |
| 25 |
#define strncasecmp(x,y,z) strnicmp(x,y,z) |
| 26 |
#define tempnam(x,y) _tempnam(x,y) |
| 27 |
|
| 28 |
int __stdcall gethostname(char *name, int namelen); |
| 29 |
|
| 30 |
/* Quick implmentation of rint() for Intel, since thoughtless Microsoft |
| 31 |
* programmers failed to provide us with one... |
| 32 |
*/ |
| 33 |
__inline double rint(double dblvar) |
| 34 |
{ |
| 35 |
__asm fld dblvar |
| 36 |
__asm frndint |
| 37 |
__asm fst dblvar |
| 38 |
return dblvar; |
| 39 |
} |
| 40 |
|
| 41 |
#endif /* _CONFIG_H_ not defined */ |