<commit_before>project(minizip)

cmake_minimum_required(VERSION 2.6)

find_package(ZLIB REQUIRED)

set (SOURCES
 ioapi.c
 unzip.c
 zip.c
)

set (HEADERS
 ioapi.h
 unzip.h
 zip.h
)

add_library(minizip
 ${SOURCES}
 ${HEADERS}
)

target_link_libraries(minizip z)

<commit_msg>Fix minizip library compilation under OS X<commit_after>project(minizip)

cmake_minimum_required(VERSION 2.6)

find_package(ZLIB REQUIRED)

set (SOURCES
 ioapi.c
 unzip.c
 zip.c
)

set (HEADERS
 ioapi.h
 unzip.h
 zip.h
)

if (APPLE)
	# Mac OS X does not have fopen64()
	# and several related functions as the standard fopen()
	# calls are 64bit
	add_definitions("-DUSE_FILE32API")
endif()

add_library(minizip
 ${SOURCES}
 ${HEADERS}
)

target_link_libraries(minizip z)


{'fraction_non_alphanumeric': 0.10201342281879194, 'fraction_numerical': 0.013422818791946308, 'mean_word_length': 4.828125, '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': '3373978', 'n_tokens_mistral': 326, 'n_tokens_neox': 307, 'n_words': 68}