Changeset 96019 in vbox
- Timestamp:
- Aug 4, 2022 8:37:27 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152814
- Location:
- trunk/include/iprt/nocrt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nocrt/math.h
r96013 r96019 526 526 #define isinf(x) \ 527 527 ((sizeof (x) == sizeof (float)) ? RT_NOCRT(__isinff)(x) \ 528 : (sizeof (x) == sizeof (double)) ? isinf(x) \528 : (sizeof (x) == sizeof (double)) ? RT_NOCRT(isinf)(x) \ 529 529 : RT_NOCRT(__isinfl)(x)) 530 530 #define isnan(x) \ 531 ((sizeof (x) == sizeof (float)) ? isnanf(x) \532 : (sizeof (x) == sizeof (double)) ? isnan(x) \531 ((sizeof (x) == sizeof (float)) ? RT_NOCRT(isnanf)(x) \ 532 : (sizeof (x) == sizeof (double)) ? RT_NOCRT(isnan)(x) \ 533 533 : RT_NOCRT(__isnanl)(x)) 534 534 #define isnormal(x) \ … … 663 663 # define drem RT_NOCRT(drem) 664 664 # define finite RT_NOCRT(finite) 665 # define isinf RT_NOCRT(isinf) 666 # define isnan RT_NOCRT(isnan) 665 /*# define isinf RT_NOCRT(isinf) - already a macro */ 666 /*# define isnan RT_NOCRT(isnan) - already a macro */ 667 667 # define isnanf RT_NOCRT(isnanf) 668 668 # define gamma_r RT_NOCRT(gamma_r) -
trunk/include/iprt/nocrt/sys/types.h
r96017 r96019 32 32 #include <iprt/types.h> 33 33 34 #if !defined(_DEV_T_DEFINED) 34 /* #if !defined(MSC-define) && !defined(GNU/LINUX-define) */ 35 #if !defined(_DEV_T_DEFINED) && !defined(__dev_t_defined) 35 36 typedef RTDEV dev_t; 36 37 #endif 37 #if !defined(_UCRT_RESTORE_CLANG_WARNINGS) 38 #if !defined(_UCRT_RESTORE_CLANG_WARNINGS) /* MSC specific type */ 38 39 typedef int errno_t; 39 40 #endif 40 #if !defined(_INO_T_DEFINED) 41 #if !defined(_INO_T_DEFINED) && !defined(__ino_t_defined) 41 42 typedef RTINODE ino_t; 42 43 #endif 43 #if !defined(_OFF_T_DEFINED) 44 #if !defined(_OFF_T_DEFINED) && !defined(__off_t_defined) 44 45 typedef RTFOFF off_t; 45 46 #endif 46 #if !defined(_PID_T_DEFINED) 47 #if !defined(_PID_T_DEFINED) && !defined(__pid_t_defined) 47 48 typedef RTPROCESS pid_t; 48 49 #endif -
trunk/include/iprt/nocrt/time.h
r96017 r96019 35 35 #include <iprt/nocrt/sys/types.h> 36 36 37 #if !defined(_TIME_T_DEFINED) 37 /* #if !defined(MSC-define) && !defined(GNU/LINUX-define) */ 38 #if !defined(_TIME_T_DEFINED) && !defined(__time_t_defined) 38 39 # if defined(RT_OS_WINDOWS) && defined(_USE_32BIT_TIME_T) && ARCH_BITS == 32 39 40 typedef long time_t; … … 46 47 #endif /* !_TIME_T_DEFINED */ 47 48 48 #if !defined(_INC_TIME) 49 #if !defined(_INC_TIME) /* MSC/UCRT guard */ 50 51 # if !defined(_STRUCT_TIMESPEC) 49 52 struct timespec 50 53 { … … 52 55 long tv_nsec; 53 56 }; 57 # endif 54 58 59 #if !defined(__struct_tm_defined) 55 60 struct tm 56 61 { … … 59 64 const char *tm_zone; 60 65 }; 66 # endif 61 67 62 68 #endif /* !_INC_TIME */
Note:
See TracChangeset
for help on using the changeset viewer.