mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:30:05 +00:00 
			
		
		
		
	switch to using __cpp_lib_chrono to determine if chrono or date/date.h should be used
This commit is contained in:
		
							parent
							
								
									88246b26fe
								
							
						
					
					
						commit
						79e39021a6
					
				
					 14 changed files with 25 additions and 25 deletions
				
			
		|  | @ -11,7 +11,7 @@ | |||
| #include <cpr/cpr.h> | ||||
| #include <libxml/HTMLparser.h> | ||||
| 
 | ||||
| #if !(defined(_MSC_VER) || defined(__clang__)) | ||||
| #if (__cpp_lib_chrono < 201907L) | ||||
| #   include <date/date.h> | ||||
| #endif | ||||
| 
 | ||||
|  | @ -200,7 +200,7 @@ void DirListSAXHandler::Characters(void* userData, const xmlChar* ch, int len) | |||
|    { | ||||
|       using namespace std::chrono; | ||||
| 
 | ||||
| #if !(defined(_MSC_VER) || defined(__clang__)) | ||||
| #if (__cpp_lib_chrono < 201907L) | ||||
|       using namespace date; | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak