Disable telemetry data logging

This commit is contained in:
momo5502 2016-06-12 12:13:31 +02:00
parent 6dd08dad5a
commit 0e46a3d806
2 changed files with 11 additions and 5 deletions

View File

@ -1020,15 +1020,12 @@ namespace Game
} pc_token_t;
//token types
#define TT_STRING 1 // string
#define TT_STRING 1 // string
#define TT_LITERAL 2 // literal
#define TT_NUMBER 3 // number
#define TT_NUMBER 3 // number
#define TT_NAME 4 // name
#define TT_PUNCTUATION 5 // punctuation
//typedef int menuDef_t;
//typedef int itemDef_t;
#define KEYWORDHASH_SIZE 512
typedef struct keywordHash_s

View File

@ -50,3 +50,12 @@ Assert_Size(bool, 1);
// Ensure pointers are 4 bytes in size (32-bit)
static_assert(sizeof(intptr_t) == 4 && sizeof(void*) == 4 && sizeof(size_t) == 4, "This doesn't seem to be a 32-bit environment!");
// Disable telemetry data logging
extern "C"
{
void _cdecl __vcrt_initialize_telemetry_provider() {}
void _cdecl __telemetry_main_invoke_trigger() {}
void _cdecl __telemetry_main_return_trigger() {}
void _cdecl __vcrt_uninitialize_telemetry_provider() {}
};