diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-16 14:11:32 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-16 14:11:32 -0400 |
| commit | 77d0069e522400b63c2182fcc5f852718e4e6f2c (patch) | |
| tree | 6713710011e6e24ebc589d4fa32093e5af329afc /src/stddef/ptrdiff_t.h | |
| parent | 896e28812c51b9ffdf3efc00c7d7ef699e380a58 (diff) | |
rename files that should never be compiled on their own to .h
Diffstat (limited to 'src/stddef/ptrdiff_t.h')
| -rw-r--r-- | src/stddef/ptrdiff_t.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/stddef/ptrdiff_t.h b/src/stddef/ptrdiff_t.h new file mode 100644 index 00000000..c591915a --- /dev/null +++ b/src/stddef/ptrdiff_t.h @@ -0,0 +1,21 @@ +#ifdef __LLP64__ +# if ! defined __STDC_VERSION__ || __STDC_VERSION__ < 199909L +typedef __int64 ptrdiff_t; +# else +typedef long long int ptrdiff_t; +# endif +#else +typedef long int ptrdiff_t; +#endif + +/** pointer arithmetic type **/ + +/*** +is a signed integral type which results when subtracting one pointer +from another. +***/ + +/* +TYPEDEF(signed integer) +STDC(1) +*/ |
