mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 02:56:39 +00:00 
			
		
		
		
	- Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL - Qt 5.5, commit 1d3966833b5f27fb262f2d3727557ef2c8947828 - SDL2 default branch, Changeset: 9834 (d3fa6d0d3793) - Ogre default branch, Changeset: 8048 (19479be2c7c5) - Boost 1.59, commit 9a02cf8eb34eb31f0858c223ce95319f103addfa - OpenAL commit 8fa4f276f89985be44007ce166109837cbfd5763 (*) only tested compilation and startup of the each app
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			547 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			547 B
		
	
	
	
		
			C
		
	
	
	
	
	
// Wrapper for MSVC/GCC
 | 
						|
#ifndef _STRINGS_WRAPPER_H
 | 
						|
#define _STRINGS_WRAPPER_H
 | 
						|
 | 
						|
 | 
						|
// For GCC, just use strings.h (this applies to mingw too)
 | 
						|
#if defined(__GNUC__)
 | 
						|
#    include <strings.h>
 | 
						|
#elif defined(MSVC) || defined(_MSC_VER)
 | 
						|
#    pragma warning(disable: 4996)
 | 
						|
#    define strcasecmp stricmp
 | 
						|
#    if (_MSC_VER < 1900)
 | 
						|
#        define snprintf _snprintf
 | 
						|
#    endif
 | 
						|
#else
 | 
						|
#    warning "Unable to determine your compiler, you should probably take a look here."
 | 
						|
#    include <strings.h>  // Just take a guess
 | 
						|
#endif 
 | 
						|
 | 
						|
#endif /* _STRINGS_WRAPPER_H */
 |