logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0003-Don-t-use-complex-types-if-they-are-not-supported.patch (651B)


  1. From 160695fc15e589d08843b07b9f9950be574f3aee Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Tue, 13 Aug 2019 22:28:49 +0000
  4. Subject: [PATCH] Don't use complex types if they are not supported
  5. ---
  6. src/x86/ffitarget.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/src/x86/ffitarget.h b/src/x86/ffitarget.h
  9. index 85ccedf..d4f384c 100644
  10. --- a/src/x86/ffitarget.h
  11. +++ b/src/x86/ffitarget.h
  12. @@ -50,7 +50,7 @@
  13. #endif
  14. #define FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION
  15. -#ifndef _MSC_VER
  16. +#if !defined(_MSC_VER) && !defined(__STDC_NO_COMPLEX__)
  17. #define FFI_TARGET_HAS_COMPLEX_TYPE
  18. #endif
  19. --
  20. 2.24.0