OpenVR: Fixed Linux build.

This commit is contained in:
Branimir Karadžić 2016-04-09 00:11:51 -07:00
parent 4bf0bfaf2c
commit 10c7a3bb36

View File

@ -17,7 +17,11 @@
#define EXTERN_C
#endif
#define OPENVR_FNTABLE_CALLTYPE __stdcall
#if defined( _WIN32 )
# define OPENVR_FNTABLE_CALLTYPE __stdcall
#else
# define OPENVR_FNTABLE_CALLTYPE
#endif //
// OPENVR API export macro
#if defined( _WIN32 ) && !defined( _X360 )
@ -44,11 +48,6 @@
#include <stdint.h>
#if defined( __WIN32 )
typedef char bool;
#endif
// OpenVR Constants
static const unsigned int k_unTrackingStringSize = 32;