projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small optims.
[apps/madmutt.git]
/
lib-lib
/
macros.h
diff --git
a/lib-lib/macros.h
b/lib-lib/macros.h
index
8eaf0ee
..
75c734a
100644
(file)
--- a/
lib-lib/macros.h
+++ b/
lib-lib/macros.h
@@
-20,6
+20,10
@@
#ifndef MUTT_LIB_LIB_MACROS_H
#define MUTT_LIB_LIB_MACROS_H
#ifndef MUTT_LIB_LIB_MACROS_H
#define MUTT_LIB_LIB_MACROS_H
+#ifndef __GNUC__
+# define __attribute__(a)
+#endif
+
/*
* config.h must be included by source file!
*/
/*
* config.h must be included by source file!
*/
@@
-41,4
+45,13
@@
# define N_(a) (a)
#endif
# define N_(a) (a)
#endif
+
+#define TRUE 1
+#define FALSE 0
+
+#undef MAX
+#undef MIN
+#define MAX(a,b) ((a) < (b) ? (b) : (a))
+#define MIN(a,b) ((a) < (b) ? (a) : (b))
+
#endif /* MUTT_LIB_LIB_MACROS_H */
#endif /* MUTT_LIB_LIB_MACROS_H */