mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	LibCore: Fix AK_OS_ANDROID build
				
					
				
			b9dc2d7 accidentally broke Android builds, this fixes that regression.This commit is contained in:
		
							parent
							
								
									c20bc22bae
								
							
						
					
					
						commit
						d6ab5c9b7d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -93,7 +93,7 @@ Optional<StringView> get(StringView name, [[maybe_unused]] SecureOnly secure) | |||
|     builder.append('\0'); | ||||
|     // Note the explicit null terminators above.
 | ||||
| 
 | ||||
| #if defined(AK_OS_MACOS) | ||||
| #if defined(AK_OS_MACOS) || defined(AK_OS_ANDROID) | ||||
|     char* result = ::getenv(builder.string_view().characters_without_null_termination()); | ||||
| #else | ||||
|     char* result; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Filiph Siitam Sandström
						Filiph Siitam Sandström