Remove C++ specific headers and move them to other repo

This commit is contained in:
mintsuki 2023-03-21 06:18:11 +01:00
parent 862ccc8ce1
commit f569ce1059
9 changed files with 1 additions and 113 deletions

2
README
View File

@ -1 +1 @@
This is a collection of freestanding C/C++ headers, for use with GCC or Clang. This is a collection of freestanding C headers, for use with GCC or Clang.

16
cfloat
View File

@ -1,16 +0,0 @@
#ifndef __cplusplus
#error "Must only use this header with C++"
#endif
#ifndef _CFLOAT
#define _CFLOAT 1
namespace std {
#define __LIBC_GUARDLESS_INCLUDE
#include <float.h>
#undef __LIBC_GUARDLESS_INCLUDE
}
#endif

View File

16
climits
View File

@ -1,16 +0,0 @@
#ifndef __cplusplus
#error "Must only use this header with C++"
#endif
#ifndef _CLIMITS
#define _CLIMITS 1
namespace std {
#define __LIBC_GUARDLESS_INCLUDE
#include <limits.h>
#undef __LIBC_GUARDLESS_INCLUDE
}
#endif

View File

@ -1,16 +0,0 @@
#ifndef __cplusplus
#error "Must only use this header with C++"
#endif
#ifndef _CSTDALIGN
#define _CSTDALIGN 1
namespace std {
#define __LIBC_GUARDLESS_INCLUDE
#include <stdalign.h>
#undef __LIBC_GUARDLESS_INCLUDE
}
#endif

16
cstdarg
View File

@ -1,16 +0,0 @@
#ifndef __cplusplus
#error "Must only use this header with C++"
#endif
#ifndef _CSTDARG
#define _CSTDARG 1
namespace std {
#define __LIBC_GUARDLESS_INCLUDE
#include <stdarg.h>
#undef __LIBC_GUARDLESS_INCLUDE
}
#endif

View File

@ -1,16 +0,0 @@
#ifndef __cplusplus
#error "Must only use this header with C++"
#endif
#ifndef _CSTDBOOL
#define _CSTDBOOL 1
namespace std {
#define __LIBC_GUARDLESS_INCLUDE
#include <stdbool.h>
#undef __LIBC_GUARDLESS_INCLUDE
}
#endif

16
cstddef
View File

@ -1,16 +0,0 @@
#ifndef __cplusplus
#error "Must only use this header with C++"
#endif
#ifndef _CSTDDEF
#define _CSTDDEF 1
namespace std {
#define __LIBC_GUARDLESS_INCLUDE
#include <stddef.h>
#undef __LIBC_GUARDLESS_INCLUDE
}
#endif

16
cstdint
View File

@ -1,16 +0,0 @@
#ifndef __cplusplus
#error "Must only use this header with C++"
#endif
#ifndef _CSTDINT
#define _CSTDINT 1
namespace std {
#define __LIBC_GUARDLESS_INCLUDE
#include <stdint.h>
#undef __LIBC_GUARDLESS_INCLUDE
}
#endif