From a773d45885eac803e794c622a4dfae3f03cc5cb1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 23 Dec 2007 10:56:02 +0000 Subject: (svn r11684) -Codechange: split gfx.h in a type and functional header. --- src/stdafx.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/stdafx.h') diff --git a/src/stdafx.h b/src/stdafx.h index f3a277d5e..90bd721cd 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -374,4 +374,10 @@ assert_compile(sizeof(uint8) == 1); #define MAX_PATH 260 #endif +/** + * The largest value that can be entered in a variable + * @param type the type of the variable + */ +#define MAX_UVALUE(type) ((type)~(type)0) + #endif /* STDAFX_H */ -- cgit v1.2.3-54-g00ecf