Implement strcoll as strcmp.

This commit is contained in:
imp 2018-02-02 21:18:32 +00:00
parent 0c46c4e6d2
commit f701b3199c

View File

@ -68,6 +68,7 @@
/* this header intentionally exports NULL from <string.h> */ /* this header intentionally exports NULL from <string.h> */
#include <string.h> #include <string.h>
#define strcoll(a, b) strcmp((a), (b))
#define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args) #define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args)
#define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args); getchar();} #define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args); getchar();}