mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
With permission from the main authors [1], most of the code has been relicensed under the MIT license. SPDX license identifiers are used so that the license headers in source code files aren't too large. Add CONTRIBUTORS.rst file. [1] https://github.com/rednex/rgbds/issues/128 Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
26 lines
469 B
C
26 lines
469 B
C
/*
|
|
* This file is part of RGBDS.
|
|
*
|
|
* Copyright (c) 2015-2018, RGBDS contributors.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef EXTERN_STRL_H
|
|
#define EXTERN_STRL_H
|
|
|
|
#ifdef STRL_IN_LIBC
|
|
|
|
#include <string.h>
|
|
|
|
#else /* STRL_IN_LIBC */
|
|
|
|
#define strlcpy rgbds_strlcpy
|
|
#define strlcat rgbds_strlcat
|
|
size_t strlcpy(char *dst, const char *src, size_t dsize);
|
|
size_t strlcat(char *dst, const char *src, size_t dsize);
|
|
|
|
#endif /* STRL_IN_LIBC */
|
|
|
|
#endif /* EXTERN_STRL_H */
|