[Bf-blender-cvs] [eaafa58] master: Code cleanup: removed unnecessary #defines causing re-definition warnings

Andrea Weikert noreply at git.blender.org
Mon Feb 3 21:27:48 CET 2014


Commit: eaafa58c2bb80c3f9eed121dcbe992c05381dbba
Author: Andrea Weikert
Date:   Mon Feb 3 21:24:42 2014 +0100
https://developer.blender.org/rBeaafa58c2bb80c3f9eed121dcbe992c05381dbba

Code cleanup: removed unnecessary #defines causing re-definition warnings

Fixing warnings in own recent commit

===================================================================

M	source/blender/blenlib/BLI_sys_types.h

===================================================================

diff --git a/source/blender/blenlib/BLI_sys_types.h b/source/blender/blenlib/BLI_sys_types.h
index 6b02653..b7a70a8 100644
--- a/source/blender/blenlib/BLI_sys_types.h
+++ b/source/blender/blenlib/BLI_sys_types.h
@@ -147,17 +147,6 @@ typedef unsigned __int64 uint64_t;
 #  endif // _WIN64 ]
 #endif // SIZE_MAX ]
 
-// WCHAR_MIN and WCHAR_MAX are also defined in <wchar.h>
-#ifndef WCHAR_MIN // [
-#  define WCHAR_MIN  0
-#endif  // WCHAR_MIN ]
-#ifndef WCHAR_MAX // [
-#  define WCHAR_MAX  _UI16_MAX
-#endif  // WCHAR_MAX ]
-
-#define WINT_MIN  0
-#define WINT_MAX  _UI16_MAX
-
 #endif // __STDC_LIMIT_MACROS ]
 
 #ifndef _INTPTR_T_DEFINED




More information about the Bf-blender-cvs mailing list