Skip to content
Browse files

Define compatibility macros only if they are needed

  • Loading branch information...
1 parent 1603d18 commit de5efc6a546dea02ea1625e869461cb0b96a9350 @chneukirchen committed May 2, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 calmwm.h
View
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);

0 comments on commit de5efc6

Please sign in to comment.
Something went wrong with that request. Please try again.