mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	stdinc: add strtok_r prototype for clang-tidy
This commit is contained in:
		 Anonymous Maarten
					Anonymous Maarten
				
			
				
					committed by
					
						 Frank Praznik
						Frank Praznik
					
				
			
			
				
	
			
			
			 Frank Praznik
						Frank Praznik
					
				
			
						parent
						
							dcb8a6521c
						
					
				
				
					commit
					aa57984928
				
			| @@ -6001,6 +6001,10 @@ size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t size); | |||||||
| size_t wcslcat(wchar_t *dst, const wchar_t *src, size_t size); | size_t wcslcat(wchar_t *dst, const wchar_t *src, size_t size); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | #if !defined(HAVE_STRTOK_R) && !defined(strtok_r) | ||||||
|  | char *strtok_r(char *str, const char *delim, char **saveptr); | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #ifndef _WIN32 | #ifndef _WIN32 | ||||||
| /* strdup is not ANSI but POSIX, and its prototype might be hidden... */ | /* strdup is not ANSI but POSIX, and its prototype might be hidden... */ | ||||||
| /* not for windows: might conflict with string.h where strdup may have | /* not for windows: might conflict with string.h where strdup may have | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user