fix random in Win32
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@153 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
659b141e16
commit
d730cdde67
@ -18,6 +18,9 @@
|
||||
#include "config.h"
|
||||
#include "c_interface.h"
|
||||
#include <math.h>
|
||||
#if defined(__MINGW32__) || _MSC_VER
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
void PROTO(init_random, (void));
|
||||
|
||||
@ -66,8 +69,6 @@ init_random(void)
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
int WINAPI PROTO(win_random, (HANDLE, DWORD, LPVOID));
|
||||
|
||||
int WINAPI win_random(HANDLE hinst, DWORD reason, LPVOID reserved)
|
||||
|
Reference in New Issue
Block a user