Browse code

Check for VirtualAlloc() so it may be used to allocate executable memory in Windows.

Originally committed as revision 18050 to svn://svn.ffmpeg.org/ffmpeg/trunk

Ramiro Polla authored on 2009/03/20 06:52:01
Showing 1 changed files
... ...
@@ -910,6 +910,7 @@ HAVE_LIST="
910 910
     termios_h
911 911
     threads
912 912
     truncf
913
+    VirtualAlloc
913 914
     winsock2_h
914 915
     yasm
915 916
 "
... ...
@@ -1944,6 +1945,7 @@ check_func  mkstemp
1944 1944
 check_func  posix_memalign
1945 1945
 check_func_headers io.h setmode
1946 1946
 check_func_headers windows.h GetProcessTimes
1947
+check_func_headers windows.h VirtualAlloc
1947 1948
 
1948 1949
 check_header conio.h
1949 1950
 check_header dlfcn.h