problem detect os type
mariadb Darwin (OSX ) Windows API
(Windows) _strtoi64 = strtoll (Unix)
http://msdn.microsoft.com/en-us/library/h80404d3(v=vs.90).aspx
_________
/usr/local/Library/ENV/4.3/clang -DCHECK_FUNCTION_EXISTS=_strtoi64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec1005542383.dir/CheckFunctionExists.c.o -o cmTryCompileExec1005542383
Undefined symbols for architecture x86_64:
"__strtoi64", referenced from:
_main in CheckFunctionExists.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTryCompileExec1005542383] Error 1
make: *** [cmTryCompileExec1005542383/fast] Error 2
Fixed in 10.0.9: revno: 4006, revision-id: svoj@mariadb.org-20140219100515-47zpgffjc2hegjlb