forked from qt-creator/qt-creator
		
	Compile with msvc.
This commit is contained in:
		@@ -232,8 +232,10 @@ uint qHash(const CPlusPlus::LookupItem &result);
 | 
			
		||||
 | 
			
		||||
} // end of namespace CPlusPlus
 | 
			
		||||
 | 
			
		||||
QT_BEGIN_NAMESPACE
 | 
			
		||||
uint qHash(const CPlusPlus::LookupItem &result);
 | 
			
		||||
QT_END_NAMESPACE
 | 
			
		||||
#if defined(Q_CC_MSVC) && _MSC_VER <= 1300
 | 
			
		||||
//this ensures that code outside QmlJS can use the hash function
 | 
			
		||||
//it also a workaround for some compilers
 | 
			
		||||
inline uint qHash(const CPlusPlus::LookupItem &item) { return CPlusPlus::qHash(item); }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif // CPLUSPLUS_LOOKUPCONTEXT_H
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user