<commit_before>#include "SDL.h"
#include "engine.hpp"
#include "logger.hpp"

extern "C"
{
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"

	// Hack to make SDL2 link
	void *__iob_func()
	{
		static FILE f[] = {*stdin, *stdout, *stderr};
		return f;
	}
}

int main(int /*argc*/, char** /*argv*/)
{
    TRACE_ENTRYEXIT;

    lua_State *L = lua_open();
    if (L)
    {
        lua_close(L);
    }
<commit_msg>only enable __iob_func hack on msvc 2015<commit_after>#include "SDL.h"
#include "engine.hpp"
#include "logger.hpp"

extern "C"
{
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"

    // Hack to make SDL2 link
    #if _MSC_VER == 1900
    void *__iob_func()
    {
        static FILE f[] = { *stdin, *stdout, *stderr };
        return f;
    }
    #endif
}

int main(int /*argc*/, char** /*argv*/)
{
    TRACE_ENTRYEXIT;

    lua_State *L = lua_open();
    if (L)
    {
        lua_close(L);
    }

{'fraction_non_alphanumeric': 0.17118093174431204, 'fraction_numerical': 0.010834236186348862, 'mean_word_length': 2.6666666666666665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7504838', 'n_tokens_mistral': 408, 'n_tokens_neox': 380, 'n_words': 92}