#include <time.h>
#ifdef __GNUC__
+#ifndef __clang__
#pragma GCC push_options
#pragma GCC optimize ("O3")
#endif
+#endif
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma GCC diagnostic pop
#ifdef __GNUC__
+#ifndef __clang__
#pragma GCC pop_options
#endif
+#endif
#define SFX_MAX_SYSTEMS 32
#define AUDIO_FLAG_LOOP 0x1
if( lin_alloc == NULL )
{
- static int allow_once = 1;
+ allocptr = malloc( total );
- if( allow_once )
- {
- allocptr = malloc( total );
-
- if( allocptr == NULL )
- vg_fatal_exit_loop( "Create linear: Malloc failed" );
-
- allow_once = 0;
- }
- else
- vg_fatal_exit_loop( "Shouldnt call this twice!" );
+ if( allocptr == NULL )
+ vg_fatal_exit_loop( "Create linear: Malloc failed" );
}
else
{
#include "vg_steam.h"
#ifdef VALVE_CALLBACK_PACK_SMALL
+;
#pragma pack(push,4)
#else
#pragma pack(push,8)
enum{ k_nSteamNetworkConnectionInfoFlags_DualWifi = 32 };
/* Describe the state of a connection. */
-typedef struct SteamNetConnectionInfo_t SteamNetConnectionInfo_t;
struct SteamNetConnectionInfo_t
{
/*