Define compatibility macros only if they are needed

This commit is contained in:
Christian Neukirchen 2012-05-02 14:26:14 +02:00
parent 1603d18560
commit de5efc6a54

View File

@ -22,8 +22,12 @@
#define _CALMWM_H_
/* ugly stuff */
#ifndef TAILQ_END
#define TAILQ_END(head) NULL
#endif
#ifndef __dead
#define __dead
#endif
char *fgetln(FILE *, size_t *);
long long strtonum(const char *, long long, long long, const char **);
size_t strlcpy(char *, const char *, size_t);