ReactOS  0.4.14-dev-614-gbfd8a84
win32config.h File Reference
#include <io.h>
#include <direct.h>
#include <libxml/xmlversion.h>
#include <math.h>
Include dependency graph for win32config.h:

Go to the source code of this file.

Macros

#define HAVE_CTYPE_H
 
#define HAVE_STDARG_H
 
#define HAVE_MALLOC_H
 
#define HAVE_ERRNO_H
 
#define SEND_ARG2_CAST
 
#define GETHOSTBYNAME_ARG_CAST
 
#define HAVE_SYS_STAT_H
 
#define HAVE_STAT
 
#define HAVE_STDLIB_H
 
#define HAVE_TIME_H
 
#define HAVE_FCNTL_H
 
#define ICONV_CONST   const
 
#define HAVE_ISINF
 
#define HAVE_ISNAN
 
#define FALSE   0
 
#define TRUE   (!(FALSE))
 

Functions

static int isinf (double d)
 
static int isnan (double d)
 

Macro Definition Documentation

◆ FALSE

#define FALSE   0

Definition at line 115 of file win32config.h.

◆ GETHOSTBYNAME_ARG_CAST

#define GETHOSTBYNAME_ARG_CAST

Definition at line 9 of file win32config.h.

◆ HAVE_CTYPE_H

#define HAVE_CTYPE_H

Definition at line 4 of file win32config.h.

◆ HAVE_ERRNO_H

#define HAVE_ERRNO_H

Definition at line 7 of file win32config.h.

◆ HAVE_FCNTL_H

#define HAVE_FCNTL_H

Definition at line 19 of file win32config.h.

◆ HAVE_ISINF

#define HAVE_ISINF

Definition at line 35 of file win32config.h.

◆ HAVE_ISNAN

#define HAVE_ISNAN

Definition at line 36 of file win32config.h.

◆ HAVE_MALLOC_H

#define HAVE_MALLOC_H

Definition at line 6 of file win32config.h.

◆ HAVE_STAT

#define HAVE_STAT

Definition at line 16 of file win32config.h.

◆ HAVE_STDARG_H

#define HAVE_STDARG_H

Definition at line 5 of file win32config.h.

◆ HAVE_STDLIB_H

#define HAVE_STDLIB_H

Definition at line 17 of file win32config.h.

◆ HAVE_SYS_STAT_H

#define HAVE_SYS_STAT_H

Definition at line 15 of file win32config.h.

◆ HAVE_TIME_H

#define HAVE_TIME_H

Definition at line 18 of file win32config.h.

◆ ICONV_CONST

#define ICONV_CONST   const

Definition at line 27 of file win32config.h.

◆ SEND_ARG2_CAST

#define SEND_ARG2_CAST

Definition at line 8 of file win32config.h.

◆ TRUE

#define TRUE   (!(FALSE))

Definition at line 118 of file win32config.h.

Function Documentation

◆ isinf()

static int isinf ( double  d)
static

Definition at line 57 of file win32config.h.

57  {
58  int expon = 0;
59  double val = frexp (d, &expon);
60  if (expon == 1025) {
61  if (val == 0.5) {
62  return 1;
63  } else if (val == -0.5) {
64  return -1;
65  } else {
66  return 0;
67  }
68  } else {
69  return 0;
70  }
71 }
GLuint GLfloat * val
Definition: glext.h:7180
#define d
Definition: ke_i.h:81
_Check_return_ _CRTIMP double __cdecl frexp(_In_ double x, _Out_ int *y)

◆ isnan()

static int isnan ( double  d)
static

Definition at line 74 of file win32config.h.

74  {
75  int expon = 0;
76  double val = frexp (d, &expon);
77  if (expon == 1025) {
78  if (val == 0.5) {
79  return 0;
80  } else if (val == -0.5) {
81  return 0;
82  } else {
83  return 1;
84  }
85  } else {
86  return 0;
87  }
88 }
GLuint GLfloat * val
Definition: glext.h:7180
#define d
Definition: ke_i.h:81
_Check_return_ _CRTIMP double __cdecl frexp(_In_ double x, _Out_ int *y)