<commit_before>/**
 * \file syscx.h
 **/
#ifndef sysCx_H_
#define sysCx_H_

static const char MagicArgv1_sysCx[] = "--opts://sysCx";

const char*
exename_of_sysCx ();
int
init_sysCx (int* pargc, char*** pargv);
void
push_losefn_sysCx (void (*f) ());
void
push_losefn1_sysCx (void (*f) (void*), void* x);
void
lose_sysCx ();

/* synhax.h - failout_sysCx() */
/* synhax.h - dbglog_printf3() */
/* fileb.h - stdin_XFileB () */
/* fileb.h - stdout_OFileB () */
/* fileb.h - stderr_OFileB () */

#if defined(_WIN32)
#elif defined(__APPLE__)
#define LACE_POSIX_SOURCE
#else
#define LACE_POSIX_SOURCE
/* TODO: Figure out the correct POSIX_SOURCE to use!*/
#ifndef POSIX_SOURCE
#define POSIX_SOURCE
#endif
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#endif
#ifndef _POSIX_C_SOURCE
/* Needed by setenv().*/
#define _POSIX_C_SOURCE 200112L
#endif
#endif

#ifdef LACE_POSIX_SOURCE
#include <fcntl.h>
#include <unistd.h>
#include <sys/wait.h>
#include <poll.h>
#else
#include <fcntl.h>
#include <windows.h>
#include <direct.h>
#include <io.h>
#include <process.h>
#include <winsock2.h>
#ifdef _MSC_VER
typedef intptr_t pid_t;
#endif
#endif<commit_msg>Include winsock2.h before windows.h to avoid dupes<commit_after>/**
 * \file syscx.h
 **/
#ifndef sysCx_H_
#define sysCx_H_

static const char MagicArgv1_sysCx[] = "--opts://sysCx";

const char*
exename_of_sysCx ();
int
init_sysCx (int* pargc, char*** pargv);
void
push_losefn_sysCx (void (*f) ());
void
push_losefn1_sysCx (void (*f) (void*), void* x);
void
lose_sysCx ();

/* synhax.h - failout_sysCx() */
/* synhax.h - dbglog_printf3() */
/* fileb.h - stdin_XFileB () */
/* fileb.h - stdout_OFileB () */
/* fileb.h - stderr_OFileB () */

#if defined(_WIN32)
#elif defined(__APPLE__)
#define LACE_POSIX_SOURCE
#else
#define LACE_POSIX_SOURCE
/* TODO: Figure out the correct POSIX_SOURCE to use!*/
#ifndef POSIX_SOURCE
#define POSIX_SOURCE
#endif
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
#endif
#ifndef _POSIX_C_SOURCE
/* Needed by setenv().*/
#define _POSIX_C_SOURCE 200112L
#endif
#endif

#ifdef LACE_POSIX_SOURCE
#include <fcntl.h>
#include <unistd.h>
#include <sys/wait.h>
#include <poll.h>
#else
#include <fcntl.h>
#include <winsock2.h>
#include <windows.h>
#include <direct.h>
#include <io.h>
#include <process.h>
#ifdef _MSC_VER
typedef intptr_t pid_t;
#endif
#endif
{'fraction_non_alphanumeric': 0.15464362850971922, 'fraction_numerical': 0.01079913606911447, 'mean_word_length': 5.046997389033942, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '1301779', 'n_tokens_mistral': 1022, 'n_tokens_neox': 963, 'n_words': 227}