summaryrefslogtreecommitdiff
path: root/src/nonstd/_io.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-03-04 03:01:03 -0500
committerJakob Kaivo <jkk@ung.org>2020-03-04 03:01:03 -0500
commit8b1380b63d62a1e1858a102fb36c2078697581ec (patch)
tree25da9bd06b12e647b6a3f8543e0e22c88b721459 /src/nonstd/_io.h
parent30daa2476c5d32f231618037102c7866996e295d (diff)
eliminate nonstd/io.h
Diffstat (limited to 'src/nonstd/_io.h')
-rw-r--r--src/nonstd/_io.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/nonstd/_io.h b/src/nonstd/_io.h
deleted file mode 100644
index d117cb8c..00000000
--- a/src/nonstd/_io.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef __INTERNAL_IO_H__
-#define __INTERNAL_IO_H__
-
-#include "nonstd/io.h"
-#include "stdarg.h"
-
-#if defined __STDC_VERSION__ && 199909L <= __STDC_VERSION__
-#include "inttypes.h"
-#else
-#include "stdlib.h"
-typedef unsigned long int uintmax_t;
-typedef long int intmax_t;
-typedef long int intptr_t;
-typedef long int ptrdiff_t;
-#define strtoumax(_s, _endptr, _base) strtoul(_s, _endptr, _base)
-#endif
-
-#if defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || defined _XOPEN_SOURCE
-#include "unistd.h"
-#else
-#define write(fd, b, s)
-#endif
-
-#endif