<commit_before>/*
 * Copyright (C) 2003-2006 Funambol
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef INCL_WINMOBILE_ADAPTER
#define INCL_WINMOBILE_ADAPTER


#include <stdarg.h>
#include <stdio.h>

#include <winsock.h>

#define EXTRA_SECTION_00
#define EXTRA_SECTION_01
#define EXTRA_SECTION_02
#define EXTRA_SECTION_03
#define EXTRA_SECTION_04
#define EXTRA_SECTION_05
#define EXTRA_SECTION_06

#define __declspec(ignore)

typedef wchar_t WCHAR;



/* some of the code compares NULL against integers, which
   fails if NULL is defined as (void *)0 */
#undef NULL<commit_msg>Fix build for windows mobile mapping snprintf to _snprintf<commit_after>/*
 * Copyright (C) 2003-2006 Funambol
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef INCL_WINMOBILE_ADAPTER
#define INCL_WINMOBILE_ADAPTER


#include <stdarg.h>
#include <stdio.h>

#include <winsock.h>

#define EXTRA_SECTION_00
#define EXTRA_SECTION_01
#define EXTRA_SECTION_02
#define EXTRA_SECTION_03
#define EXTRA_SECTION_04
#define EXTRA_SECTION_05
#define EXTRA_SECTION_06

#define __declspec(ignore)

typedef wchar_t WCHAR;

/* Map snprintf and vsnprintf to winmobile functions */
#define snprintf _snprintf
#define vsnprintf _vsnprintf

/* some of the code compares NULL against integers, which
   fails if NULL is defined as (void *)0 */
#undef NULL
{'fraction_non_alphanumeric': 0.06146926536731634, 'fraction_numerical': 0.02848575712143928, 'mean_word_length': 4.525879917184265, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3129144', 'n_tokens_mistral': 843, 'n_tokens_neox': 780, 'n_words': 352}