mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Define compatibility macros only if they are needed
This commit is contained in:
parent
1603d18560
commit
de5efc6a54
4
calmwm.h
4
calmwm.h
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user