Fix r3_str.h header protection

This commit is contained in:
c9s 2015-11-17 18:27:25 +08:00
parent 89e4517772
commit 28726b27af

View file

@ -4,8 +4,8 @@
*
* Distributed under terms of the MIT license.
*/
#ifndef STR_H
#define STR_H
#ifndef R3_STR_H
#define R3_STR_H
#ifdef __cplusplus
extern "C" {
@ -56,5 +56,4 @@ char *strndup(const char *s, int n);
}
#endif
#endif /* !STR_H */
#endif /* !R3_STR_H */