Browse Source

Fix complex ABI for 32bit SolarisStudio builds

tags/v0.3.13^2
Martin Kroeker GitHub 4 years ago
parent
commit
3a1b1b7c8c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      common_sparc.h

+ 6
- 0
common_sparc.h View File

@@ -78,6 +78,12 @@ static __inline unsigned long rpcc(void){
#define __BIG_ENDIAN__
#endif

#ifdef C_SUN
#ifndef __64BIT
#define RETURN_BY_STACK
#endif
#endif

#ifdef DOUBLE
#define GET_IMAGE(res) __asm__ __volatile__("fmovd %%f2, %0" : "=f"(res) : : "memory")
#else


Loading…
Cancel
Save