summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1e058b8)
raw | patch | inline | side by side (parent: 1e058b8)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sun, 31 Jan 2021 13:49:29 +0000 (16:49 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sun, 31 Jan 2021 13:49:29 +0000 (16:49 +0300) |
src/glob.h | patch | blob | history |
diff --git a/src/glob.h b/src/glob.h
index 406caa8caeade73842693d412755fed2ce952640..c6cdeb1d9ea95b1ee710fa83ed4bac828d5d6bb6 100644 (file)
--- a/src/glob.h
+++ b/src/glob.h
#define __MAX_FNAME 50
#define __MAX_EXT 50
-#define min(a,b) ((a)<(b)?(a):(b))
-#define max(a,b) ((a)>(b)?(a):(b))
+#ifndef min
+# define min(a,b) ((a)<(b)?(a):(b))
+#endif
+#ifndef max
+# define max(a,b) ((a)>(b)?(a):(b))
+#endif
#define myrand(a) (rand()%(a))