mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 23:53:02 +00:00 
			
		
		
		
	Only enable FFI on x86-64, non-windows OSes.
This commit is contained in:
		| @@ -163,10 +163,13 @@ extern "C" { | ||||
| #define JANET_DYNAMIC_MODULES | ||||
| #endif | ||||
|  | ||||
| /* Enable or disable the FFI library. */ | ||||
| /* Enable or disable the FFI library. Currently, FFI only enabled on | ||||
|  * x86-64, non-windows operating systems. */ | ||||
| #ifndef JANET_NO_FFI | ||||
| #if !defined(JANET_WINDOWS) && (defined(__x86_64__) || defined(_M_X64)) | ||||
| #define JANET_FFI | ||||
| #endif | ||||
| #endif | ||||
|  | ||||
| /* Enable or disable the assembler. Enabled by default. */ | ||||
| #ifndef JANET_NO_ASSEMBLER | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose