We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41ac8a5 commit 4418c2aCopy full SHA for 4418c2a
base1432.c
@@ -1,14 +1,6 @@
1
// base1432.c
2
// fumiama 20220319
3
-#ifdef __cosmopolitan // always le
4
-# define be16toh(x) __builtin_bswap16(x)
5
-# define be32toh(x) __builtin_bswap32(x)
6
-# define htobe16(x) __builtin_bswap16(x)
7
-# define htobe32(x) __builtin_bswap32(x)
8
-typedef unsigned int uint32_t;
9
-typedef int int32_t;
10
-typedef unsigned char uint8_t;
11
-#else
+#ifndef __cosmopolitan // always le
12
#include <stdio.h>
13
#include <stdint.h>
14
#include <stdlib.h>
base16384.c
@@ -6,11 +6,6 @@
#ifdef __WINNT__
#include <windows.h>
#endif
-struct timespec {
- unsigned long tv_sec;
- unsigned long tv_nsec;
-};
15
#include "base14.h"
16
0 commit comments