glue.h 424 B

1234567891011121314151617181920212223
  1. #if 0 //_MSC_VER
  2. #include <openvr.h>
  3. #else
  4. //
  5. // This address an issue with differences between the msvc/mingw abis when returning structs.
  6. //
  7. // See:
  8. //
  9. // https://github.com/ValveSoftware/openvr/issues/133
  10. //
  11. // Looks like the GCC guys don't quite get it yet, still think it's caller/callee popping issue:
  12. //
  13. // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64384
  14. #include <openvr_mingw.h>
  15. #endif
  16. using namespace vr;