mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-02 20:43:35 +00:00
Merge pull request #178 from Jcd1230/master
Remove bad pragma pack for OpenVR on Linux and Mac
This commit is contained in:
commit
e74fb01b59
|
@ -14,15 +14,8 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#ifndef WIN32
|
|
||||||
#pragma pack(push, 4)
|
|
||||||
#else
|
|
||||||
#undef EXTERN_C
|
#undef EXTERN_C
|
||||||
#endif
|
|
||||||
#include <openvr_capi.h>
|
#include <openvr_capi.h>
|
||||||
#ifndef WIN32
|
|
||||||
#pragma pack(pop)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// From openvr_capi.h
|
// From openvr_capi.h
|
||||||
extern intptr_t VR_InitInternal(EVRInitError *peError, EVRApplicationType eType);
|
extern intptr_t VR_InitInternal(EVRInitError *peError, EVRApplicationType eType);
|
||||||
|
|
Loading…
Reference in a new issue