Criterion/.cmake/Modules/Capabilities.cmake
Adeel 786e70dd1b config: Check strtok_s capability.
Also cleans up redundancies and adds pragma in `UNUSED` macro.
2015-10-03 12:23:16 +03:00

12 lines
390 B
CMake

# Copyright (C) 2015 Franklin "Snaipe" Mathieu.
# Redistribution and use of this file is allowed according to the terms of the MIT license.
# For details see the LICENSE file distributed with Criterion.
include(CheckPrototypeDefinition)
check_prototype_definition(
strtok_s
"char *strtok_s(char *strToken, const char *strDelimit, char **context)"
NULL
"string.h"
HAVE_STRTOK_S)