Get rid of warning when 'inline' is already defined.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1348 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -29,10 +29,12 @@
|
|||||||
|
|
||||||
|
|
||||||
// Compilation related
|
// Compilation related
|
||||||
#ifdef _MSC_VER
|
#ifndef inline
|
||||||
|
# ifdef _MSC_VER
|
||||||
# define inline __inline
|
# define inline __inline
|
||||||
#else
|
# else
|
||||||
# define inline __inline__
|
# define inline __inline__
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Paths
|
// Paths
|
||||||
|
|||||||
Reference in New Issue
Block a user