1
1

Activate the "secure" version of srand ...

This commit was SVN r12007.
Этот коммит содержится в:
George Bosilca 2006-10-05 05:43:16 +00:00
родитель b2b2ade6c9
Коммит 5885696079

Просмотреть файл

@ -31,6 +31,11 @@
*/
#define _WIN32_WINNT 0x0500
/**
* Define it in order to get access to the "secure" version of rand.
*/
#define _CRT_RAND_S
/* It is always better to include windows.h with the lean and mean option.
So, include it with that option and then include some which are required
for us in ompi. Note: this file is included only on windows */
@ -60,6 +65,8 @@
#include <direct.h>
#include <io.h>
#include <stdlib.h>
/*#if defined(OMPI_BUILDING) && OMPI_BUILDING */
#include "opal/win32/ompi_uio.h"
#include "opal/win32/ompi_time.h"