rename $if mac => $if macos , _mac.v => _darwin.v
							parent
							
								
									760448afa4
								
							
						
					
					
						commit
						7882312697
					
				|  | @ -1278,7 +1278,7 @@ $if windows { | |||
| $if linux { | ||||
|     println('Linux') | ||||
| } | ||||
| $if mac { | ||||
| $if macos { | ||||
|     println('macOS') | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ | |||
| 
 | ||||
| fn test_open() { | ||||
| 	/* | ||||
| 	$if mac { | ||||
| 	$if macos { | ||||
| 		f := os2.create('os2.test') | ||||
| 		f.writeln('hello world!') | ||||
| 		f.close() | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ fn nr_cpus_nix() int { | |||
| 	$if linux { | ||||
| 		return int(C.sysconf(C._SC_NPROCESSORS_ONLN)) | ||||
| 	} | ||||
| 	$if mac { | ||||
| 	$if macos { | ||||
| 		return int(C.sysconf(C._SC_NPROCESSORS_ONLN)) | ||||
| 	} | ||||
| 	return 1 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue