view src/vimio.h @ 18732:2513e666aa82 v8.1.2356

patch 8.1.2356: rand() does not use the best algorithm Commit: https://github.com/vim/vim/commit/f8c1f9200c4b50969a8191a4fe0b0d09edb38979 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 28 22:13:14 2019 +0100 patch 8.1.2356: rand() does not use the best algorithm Problem: rand() does not use the best algorithm. Solution: use xoshiro128** instead of xorshift. (Kaito Udagawa, closes #5279)
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Nov 2019 22:15:04 +0100
parents 4aead6a9b7a9
children 6e3dc2d630c2
line wrap: on
line source

/* vi:set ts=8 sts=4 sw=4 noet:
 *
 * VIM - Vi IMproved	by Bram Moolenaar
 *
 * Do ":help uganda"  in Vim to read copying and usage conditions.
 * Do ":help credits" in Vim to see a list of people who contributed.
 * See README.txt for an overview of the Vim source code.
 */

/* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */
#if _MSC_VER >= 1400
# define _CRT_SECURE_NO_DEPRECATE
# define _CRT_NONSTDC_NO_DEPRECATE
#endif

/* cproto fails on missing include files */
#ifndef PROTO
# include <io.h>
#endif