diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 15:32:39 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 15:32:39 -0400 |
| commit | 9917cd555abf0a195fc545c85272ffe4082f30b9 (patch) | |
| tree | 7d59cf0d41b1a677f732e9f3f991625bc5eaa302 /src/wchar | |
| parent | 67fff207b3f5a55af14fccf13f7b7617d2a1b5a3 (diff) | |
tweak when compiling without C95
Diffstat (limited to 'src/wchar')
| -rw-r--r-- | src/wchar/wcswcs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wchar/wcswcs.c b/src/wchar/wcswcs.c index 31fb5b59..8f5df6f8 100644 --- a/src/wchar/wcswcs.c +++ b/src/wchar/wcswcs.c @@ -1,4 +1,12 @@ +#ifdef __STDC_VERSION__ #include <wchar.h> +#else +#include <stddef.h> +#include "wctype/wint_t.c" +#include "wctype/wctrans_t.c" +#define wcsstr __wcsstr +#include "wcsstr.c" +#endif wchar_t * wcswcs(const wchar_t * s1, const wchar_t * s2) { |
