summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2022-12-11 15:43:11 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2022-12-11 16:07:37 -0800
commit19e90648da96078d7e36434f6003ca24fdbb29bd (patch)
tree070a597b5080d6cde7a1c786d6521d7e8f381916 /include
parente27b562aae4195de3039d11a2697f1438c35a173 (diff)
Assume the compiler is from this millennium
`unifdef -D__STDC__` over the tree Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'include')
-rw-r--r--include/tet_api.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/tet_api.h b/include/tet_api.h
index 36561eaf..d69330e6 100644
--- a/include/tet_api.h
+++ b/include/tet_api.h
@@ -165,10 +165,8 @@ extern "C" {
/* the following are needed for types used in declarations */
#include <sys/types.h>
#define TET_PID_T_DEFINED
-#if defined(__STDC__) || defined(__cplusplus) || defined(_WIN32)
# include <time.h>
# include <stdarg.h>
-#endif
#ifdef TET_POSIX_THREADS
# include <pthread.h>
#else /* !TET_POSIX_THREADS */
@@ -231,11 +229,9 @@ extern "C" {
** function prototype macros
*/
-#if defined(__STDC__) || defined(__cplusplus) || defined(_WIN32)
# ifndef TET_PROTOTYPES
# define TET_PROTOTYPES
# endif
-#endif
#ifdef TET_PROTOTYPES
# define TET_PROTOLIST(list) list