Cygwin compatibility issues (manually backported from main branch)
This commit is contained in:
		
							parent
							
								
									2e3353634f
								
							
						
					
					
						commit
						1e1b4b6678
					
				| @ -1,7 +1,7 @@ | ||||
| 
 | ||||
| #include <iostream> | ||||
| 
 | ||||
| #if (defined __GNUC__) | ||||
| #if (defined __GNUC__) && (!defined __MINGW32__) && (!defined __CYGWIN__) | ||||
| #define EIGEN_WEAK_LINKING __attribute__ ((weak)) | ||||
| #else | ||||
| #define EIGEN_WEAK_LINKING | ||||
|  | ||||
| @ -57,7 +57,8 @@ | ||||
| #include <limits> | ||||
| 
 | ||||
| // Options
 | ||||
| #define MPREAL_HAVE_INT64_SUPPORT               // Enable int64_t support if possible. Available only for MSVC 2010 & GCC. 
 | ||||
| // FIXME HAVE_INT64_SUPPORT leads to clashes with long int and int64_t on some systems.
 | ||||
| //#define MPREAL_HAVE_INT64_SUPPORT               // Enable int64_t support if possible. Available only for MSVC 2010 & GCC.
 | ||||
| #define MPREAL_HAVE_MSVC_DEBUGVIEW              // Enable Debugger Visualizer for "Debug" builds in MSVC.
 | ||||
| #define MPREAL_HAVE_DYNAMIC_STD_NUMERIC_LIMITS  // Enable extended std::numeric_limits<mpfr::mpreal> specialization.
 | ||||
|                                                 // Meaning that "digits", "round_style" and similar members are defined as functions, not constants.
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Christoph Hertzberg
						Christoph Hertzberg