forked from enlightenment/enlightenment
define MAX for all OS, instead of plenty #include
SVN revision: 40012
This commit is contained in:
parent
bb15485a0f
commit
64f80081aa
|
@ -26,6 +26,12 @@
|
|||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
/* define MAX for all OS, instead of plenty #include */
|
||||
#ifndef MAX
|
||||
# define MAX(a, b) ((a) < (b) ? (b) : (a))
|
||||
#endif
|
||||
|
||||
|
||||
/* supported batery system schemes - irrespective of OS */
|
||||
#define CHECK_NONE 0
|
||||
#define CHECK_ACPI 1
|
||||
|
|
Loading…
Reference in New Issue