comparison nt/config.h @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents b8cc9ab3f761
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
155 #undef HAVE_SYS_WAIT_H 155 #undef HAVE_SYS_WAIT_H
156 #undef HAVE_LIBGEN_H 156 #undef HAVE_LIBGEN_H
157 #undef WORDS_BIGENDIAN 157 #undef WORDS_BIGENDIAN
158 #undef TIME_WITH_SYS_TIME 158 #undef TIME_WITH_SYS_TIME
159 159
160 #define HAVE_SYS_TIME_H 160 #undef HAVE_SYS_TIME_H
161 #define HAVE_LOCALE_H 161 #define HAVE_LOCALE_H
162 #ifdef HAVE_X_WINDOWS 162 #ifdef HAVE_X_WINDOWS
163 #define HAVE_X11_LOCALE_H 163 #define HAVE_X11_LOCALE_H
164 #endif 164 #endif
165 #define STDC_HEADERS 165 #define STDC_HEADERS
228 #undef HAVE_FMOD 228 #undef HAVE_FMOD
229 #undef HAVE_FPATHCONF 229 #undef HAVE_FPATHCONF
230 #undef HAVE_FREXP 230 #undef HAVE_FREXP
231 #undef HAVE_FTIME 231 #undef HAVE_FTIME
232 #undef HAVE_GETHOSTNAME 232 #undef HAVE_GETHOSTNAME
233 #undef HAVE_GETPAGESIZE 233
234 #define HAVE_GETPAGESIZE
235 #define getpagesize() 4096
236
234 #define HAVE_GETTIMEOFDAY 237 #define HAVE_GETTIMEOFDAY
235 #define HAVE_GETWD 238 #define HAVE_GETWD
236 #undef HAVE_LOGB 239 #undef HAVE_LOGB
237 #undef HAVE_LRAND48 240 #undef HAVE_LRAND48
238 #undef HAVE_MATHERR 241 #undef HAVE_MATHERR
557 /* System calls that are encapsulated */ 560 /* System calls that are encapsulated */
558 #define ENCAPSULATE_RENAME 561 #define ENCAPSULATE_RENAME
559 #define ENCAPSULATE_OPEN 562 #define ENCAPSULATE_OPEN
560 #define ENCAPSULATE_FOPEN 563 #define ENCAPSULATE_FOPEN
561 #define ENCAPSULATE_MKDIR 564 #define ENCAPSULATE_MKDIR
562 565 #define ENCAPSULATE_STAT
563 #if defined (WIN32) && defined (USE_IME) 566 #define ENCAPSULATE_FSTAT
564 #define HAVE_FEP
565 #endif
566 567
567 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY) 568 #if defined (HAVE_SOCKS) && !defined (DO_NOT_SOCKSIFY)
568 #define accept Raccept 569 #define accept Raccept
569 #define bind Rbind 570 #define bind Rbind
570 #define connect Rconnect 571 #define connect Rconnect
598 599
599 /* 'expression' : signed/unsigned mismatch */ 600 /* 'expression' : signed/unsigned mismatch */
600 #pragma warning ( disable : 4018 ) 601 #pragma warning ( disable : 4018 )
601 602
602 #endif /* compiler understands #pragma warning*/ 603 #endif /* compiler understands #pragma warning*/
604
605 #ifndef NOT_C_CODE /* Actually means C or C++ */
606 # if defined (__cplusplus)
607 /* Avoid C++ keywords used as ordinary C identifiers */
608 # define class c_class
609 # define new c_new
610 # define this c_this
611 # define catch c_catch
612 # define not c_not
613
614 # define EXTERN_C extern "C"
615 # else /* C code */
616 # define EXTERN_C extern
617 # endif
618 #endif /* C or C++ */
603 619
604 #define enum_field(enumeration_type) unsigned int 620 #define enum_field(enumeration_type) unsigned int
605 621
606 /* We want to avoid saving the signal mask if possible, because 622 /* We want to avoid saving the signal mask if possible, because
607 that necessitates a system call. */ 623 that necessitates a system call. */